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 conceptual topics

    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.

  • User Interface Help

    Describes user interface elements of the Visual Basic Editor, such as menus and commands, dialog boxes, windows, and toolbars. The error messages section contains common causes and solutions for any issues you may be having.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.