When is a parent object required for a property?

P

paul.domaskis

A perfect example of this question is the Help for the Cells
property. It says that in expression.Cells, the object specifier
"expression" is required, regardless of whether it refers to an
Application object, Range object, or Worksheet object. However, there
are plenty of examples where "Cells" is not prefixed with an object
specifier. In fact, the very Help page for Cells contains such an
example.

Where can one find clear rules specifying when the object specifier is
truly required, and what the implied object is when the object
specifier is not present?
 
P

paul.domaskis

May bad. I'm not reading the help slowly enough. It is described in
the Remarks. Sorry for jumping the gun.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top