XL98: Conditional Compilation Code Lost With 5.0/95 Format (186174)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q186174 SYMPTOMS
If you use the Save As command on the File menu to save a document in
Microsoft Excel 5.0/95 Workbook format, you lose any Conditional
Compilation directives in your Visual Basic for Applications code.
NOTE: When saving your document in Microsoft Excel 5.0/95 format, you are
not warned that your code will be lost.
CAUSE
Conditional Compilation directives are not used in earlier versions of
Visual Basic for Applications and Microsoft Excel.
RESOLUTION
If you have already saved your document in the Microsoft Excel 5.0/95
Workbook format, you must open the file in Microsoft Excel 98 and retype
the Conditional Compilation directives.
If you have not saved your file in the Microsoft Excel 5.0/95 Workbook
format and you want to preserve your Conditional Compilation directives,
comment out the Conditional Compilation directives and save the file in the
Microsoft Excel 5.0/95 Workbook format.
REFERENCES
For more information about Conditional Compilation, from the Visual Basic
Editor, click the Office Assistant, type conditional compilation click
Search, and then click to view "Understanding Conditional Compilation."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Help is not installed on your computer,
please see the following article in the Microsoft Knowledge Base:
179216
OFF98: How to Use the Microsoft Office Installer Program
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbprb kbProgramming KB186174 |
---|
|