편집

다음을 통해 공유


Expected procedure, not project or library

There is no procedure by this name in the current scope, but there is a project by this name. You can call a procedure, but not a project. This error has the following cause and solution:

  • The name of a project is used as a procedure call. Check the spelling of the procedure name, and make sure the procedure you are trying to call isn't private to another 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.