The specified file could not be loaded.
Not all files can be loaded in Visual Basic for Applications. This error has the following cause and solution:
- The file you are trying to load has a format that Visual Basic can't interpret, or the file is corrupt. You can't load the file.
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.