Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VBANew to Visual Studio Code? Get it now.
VBA

VBA

serkonda7

|
167,391 installs
| (5) | Free
VBA tooling, syntax highlighting and snippets.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VBA Support for VS Code

CI Marketplace Installs Open VSX Installs

Project Status

This project is in maintenance mode. Pull request are welcome and will be merged. Issues will be addressed and minor bug fixes may happen. However I am unable to further develop new features.

Please feel free to contribute.


For advanced features like a language server, I recommend checking out SSlinky/VBA-LanguageServer.

Key Features

Used for GitHub syntax highlighting

  • VBA syntax highlighting
  • Comprehensive snippets
  • Syntax highlighting for some dialects (community maintained)
    • WinWrap Basic (WWB)

Installation

Launch Quick Open (Ctrl+P) and execute this command:

ext install serkonda7.vscode-vba

Or download from Open VSX.

Contributing

Your contributions are always welcome and highly appreciated!

  • Discuss and Ask Questions: GitHub Discussions with community support
  • Report Issues or Submit Changes: Please check the Contribution guidelines

Snippets

The following snippets are available:

  • If
  • ElseIf
  • Else
  • Sub
  • Function

License

Source code, grammars and snippets are provided under the Mozilla Public License (MPL-2.0).

The icon is provided under CC-BY-4.0, courtesy of the GitHub Explore authors.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft