Article ID: 159537
Article Last Modified on 10/10/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Visual Basic 4.0 Standard Edition
This article was previously published under Q159537
SYMPTOMS
In Microsoft Excel 97, if you try to import a Form that was created in
Microsoft Visual Basic version 4.0, you will receive the following error
message
The form class contained in <path to the form> is not supported in VBE.
The file can't be loaded.
and you are unable to import the Form.
In Microsoft Visual Basic version 4.0, if you try to import a UserForm that
was created in Microsoft Excel 97, you will receive the following error
message
Version number missing or invalid; Visual Basic 4.0 assumed.
followed by the error message
Errors during load. Refer to '<path to the UserForm>\Myform.log' for
details.
followed by the error message
'<path to the UserForm>' could not be loaded.
and you are unable to import the UserForm.
CAUSE
You cannot import/export UserForms/Forms between Microsoft Excel 97 and
Microsoft Visual Basic version 4.0.
This behavior is by design of the Microsoft products listed at the
beginning of this article.
REFERENCES
For more information about importing and exporting UserForms, click the
Index tab in Microsoft Excel 97 Visual Basic Help, type the following text
and then double-click the selected text to go to the "Import File and
Export File Commands (File Menu)" topic.
Additional query words: XL97 8.00 4 0 can t
Keywords: kberrmsg kbprogramming KB159537