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:
- Syntax Highlighting: Colorize code elements for better readability.
- Customizable Fonts: Choose easy-to-read fonts with adjustable size and spacing.
- Bracket Matching: Highlight matching brackets or parentheses.
- Accessibility Options: Color contrast adjustment and screen reader compatibility.

Click to Subscribe
Watch the Video tutorial
Steps for VBA Coding Dark Theme


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.
Code Color Combination
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
Font Selection and Size (Easy to Read)
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.



