Language reference for Visual Basic for Applications (VBA)

Welcome to the Visual Basic for Applications (VBA) language reference for Office. This reference contains conceptual overviews, programming tasks, samples, and references to guide you in developing solutions based on VBA.

Note

Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new Office Add-ins model.

Use the table of contents in the navigation on the left to view the topics in the following sections:

  • Visual Basic conceptual topics

    Provides information to help you understand Visual Basic programming.

  • Microsoft Forms reference

    Provides information about Userforms and controls, and how to program with them by using Visual Basic.

  • Visual Basic how-to topics

    Describes useful common procedures (for example, how to use the Object Browser or how to set Visual Basic Environment options).

  • Visual Basic language reference

    Provides documentation about Visual Basic the language: all its methods, properties, statements, functions, operators, and objects.

  • Visual Basic definitions

    Provides a glossary of definitions to help you understand concepts presented in this documentation.

  • Visual Basic add-in model

    Describes how to customize the Visual Basic editor, and provides documentation for the object model that enables you to extend the environment.

  • Visual Basic user interface Help

    Describes user interface elements of the Visual Basic Editor, such as commands, dialog boxes, windows, and toolbars.