Invalid qualifier
Qualifiers are used for disambiguation. This error has the following cause and solution:
The qualifier does not identify a project, module, object, or a variable of user-defined type within the current scope.
Check the spelling of the qualifier. Make sure that the qualifying identifier is within the current scope. For example, a variable of user-defined type in a Private module is visible only within that module.
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.