Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The ordinary white background with the font name “Courier” in the MS Access VBA Coding environment can be transformed into a dark background with colored code font. The process to apply VBA Coding Dark Theme in Access is an easy and simple method.
The idea behind that is the Microsoft VS Code dark coding environment. These are a few key features to adopt such coding experience:
Click to Subscribe
Watch the Video tutorial
To achieve this, select “Options” from the “Tools” menu of Visual Basic for Application window. Under the “Editor Format” tab, you will find Code Colors to select different color combinations regarding Foreground and Background.
On the right side, Font and Size can be selected.
These are the best color code combinations you can apply:
Code | Foreground Color | Background Color |
---|---|---|
Normal Text | White | Black |
Selection Text | Black | Grey |
Syntax Error Text | Red | Black |
Execution Point Text | Default | Default |
Breakpoint Text | Default | Default |
Comment Text | Light Green | Black |
Keyword Text | Purple | Black |
Identifier Text | Sky Blue | Black |
Bookmark Text | Grey | White |
Call Return Text | Default | Default |
VBA Code Colors combination for Dark Experience
Several fonts can be selected, but here is the most prominent and easy-to-read font selected after several tests. The font name is “Hack”. You can download this font, install it into the Font Directory of your Windows, and select it from the VBA Editor Format window.
The selection of Font Size depends on the screen resolution. You can choose the best for visibility.