Table of contents
Collapse the table of content
Expand the table of content

The form class contained in the specified file is not supported in Visual Basic for Applications; the file can't be loaded.

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Visual Basic for Applications only supports UserForm form objects. This error has the following cause and solution:

  • You are trying to load a form from an earlier version of Visual Basic or a form from a current standalone version of Visual Basic. It is probably easiest to redesign the form using the UserForm tools within Visual Basic for Applications. If you can save the form inASCII format, you may be able to modify the form and import it. However, you must completely understand the formats and limitations of the various form packages.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft