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 page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

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).