Microsoft General Purpose Programming Languages

This document contains detailed information about the Visual Basic for Applications (VBA) computer programming language. The VBA programming language is intended to be used in conjunction with a host software application such as a word processor. In such a situation, the end-user of a host application uses the VBA language to write programs that may access and control the host application's data and functionality. VBA is used within Microsoft Office products for this purpose.

Note  The inter-document links in a PDF version of a technical document are functional only if all the cross-referenced documents are saved to the same local directory folder. An error message appears if you click a link that references a PDF document that is not located in the same folder (when viewing via your local hard drive) or is part of a different download (when viewing online). To save a complete set of PDF files to the same folder, download the General Purpose Programming Languages zip file. This is a large file and can take a few minutes to download.



[MS-VBAL]: VBA Language Specification

Specifies the VBA Language, which defines the implementation-independent and operating system-independent programming language that is required to be supported by all conforming VBA implementations. This specification also defines all features and behaviors of the language that are required to exist and behave identically in all conforming implementations.

Click here to view this version of the [MS-VBAL] PDF.

Preview Versions

From time to time, Microsoft may publish a preview, or pre-release, version of an Open Specifications technical document for community review and feedback. To provide feedback for a preview version of a technical document, please follow the instructions for that document, if provided. Otherwise, you can provide feedback by using the Open Specification Forums.

The preview period for a technical document varies. Additionally, not every technical document will be published for preview.

After the preview period, the technical document is published to the appropriate location in the Open Specifications Library.