This VBA project was created while running VBA in a different application. You may only open it from inside the same application in which it was created.

This error has the following causes and solutions:

  • The file you tried to open is a project file that was created within another host application. Make sure the project file you want to open is one you created and saved within the same Visual Basic host application.

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.