Object required (Visual Basic)

References to properties and methods often require an explicit object qualifier. This is such a case.

To correct this error

  1. Check that references to an object property or method have valid object qualifier. Specify an object qualifier if you didn't provide one.

  2. Check the spelling of the object qualifier and make sure the object is visible in the part of the program in which you are referencing it.

  3. If a path is supplied to a host application's File Open command, check that the arguments in it are correct.

  4. Check the object's documentation and make sure the action is valid.

See Also

Concepts

Types of Errors