When you access Automation objects, specific types of errors can occur. This error has the following possible causes and solutions:

  • An error occurred while executing a method or getting or setting aproperty of anobject variable. The error was reported by the application that created the object.

    Check the properties of the Err object to determine the source and nature of the error. Also try using the On Error Resume Next statement immediately before the accessing statement, and then check for errors immediately following the accessing statement.

  • The Office add-in that you are trying to use has been disabled by your System Administrator.