Читать книгу Excel VBA Programming For Dummies - Dick Kusleika - Страница 64
Using the Editor Format tab
ОглавлениеFigure 3-8 shows the Editor Format tab of the Options dialog box. With this tab, you can customize the way the VBE looks.
Code Colors option: The Code Colors option lets you set the text color and background color displayed for various elements of VBA code. This is largely a matter of personal preference.
Font option: The Font option lets you select the font that’s used in your VBA modules. For best results, stick with a fixed-width font such as Courier New. In a fixed-width font, all characters are exactly the same width. This makes your code more readable because the characters are nicely aligned vertically, and you can easily distinguish multiple spaces (which is sometimes useful).
Size setting: The Size setting specifies the point size of the font in the VBA modules. This setting is a matter of personal preference determined by your video display resolution and how many carrots you’ve been eating.
Margin Indicator Bar option: This option controls the display of the vertical margin indicator bar in your modules. You should keep this turned on; otherwise, you won’t be able to see the helpful graphical indicators when you’re debugging your code.
FIGURE 3-8: Change how the VBE looks with the Editor Format tab.