Article ID: 173083
Article Last Modified on 10/10/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
- Microsoft Excel 98 for Macintosh
This article was previously published under Q173083
SYMPTOMS
In the products listed at the beginning of this article, certain lines of Microsoft Visual Basic for Applications code in a module appear in color while you are editing them. However, when you print the module, these lines of code are printed in black and white, even if you have a color printer.
CAUSE
Printing of color in modules is not a supported feature.
MORE INFORMATION
The following table lists the default settings for items in a module that may or may not be displayed in color while editing the code of the module:
Item Default color --------------------------------- Normal text Black Syntax error text Red Comment text Green Keyword text Blue
REFERENCES
For more information about printing Visual Basic for Applications code, click the Office Assistant in the Visual Basic Editor, type printing a project click Search, and then click to view "Print Command (File Menu)." 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:
120802 Office: How to Add/Remove a Single Office
Additional query words: XL97 XL98 XL7 XL5 sheet OFF97 vbe XL
Keywords: kbprb kbprint kbprogramming kbui KB173083