The library containing this symbol is not referenced by the current project, so the symbol is undefined. Would you like to add a reference to the containing library now?
Type and object information is contained in libraries. This error has the following causes and solutions:
A definition for this symbol exists in a type library.
If you want to define the symbol as contained in the library mentioned, click OK to add the reference to the library.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.