Not all objects support all properties andmethods. This error has the following cause and solution:

  • You specified a method or property that doesn’t exist for this Automation object.

    See the object’s documentation for more information on the object and check the spellings of properties and methods.

  • You specified a Friend procedure to be called late bound. The name of a Friend procedure must be known atcompile time. It can’t appear in a late-bound call.