Suggestions for personalizing the Excel VBA Editor

A sample of my view of VBA Source Code.

Code Example

Always enable Require Variable Declaration.

Do not enable the automatic syntax checker. It will only interrupt your train of thought while you are working with and manipulating your VBA source code.

primary excel vba options

To make your code more visible select the Lucida Console (Western) FONT.

Select Lucida Console font

The Lucida Console Western makes it much easier to distinguish:(1;i;I;l;L).

The digit One; the lowercase “eye”; the uppercase “eye”; the lowercase “ell” and the uppercase ‘ell”.

To make the VBA keywords standout display them in RED. RED is far more visible than the default BLUE.

Keywords in RED

To keep track of syntax errors display them in MAGENTA.

Syntax Errors in Magenta

Author: excel1star

Senior Excel VBA Automation Developer. Ex Aerospace Engineer with Grumman Aerospace

2 thoughts on “Suggestions for personalizing the Excel VBA Editor”

  1. Excellent suggestion. I use Consolas (Western) as it give the same distinctions and both fonts are spaced uniformly, which is important. Thx

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: