Applies To
Excel for Microsoft 365 Word for Microsoft 365 Outlook for Microsoft 365 PowerPoint for Microsoft 365 Access for Microsoft 365 Visio Plan 2 Excel 2024 Word 2024 Outlook 2024 PowerPoint 2024 Access 2024 Visio Professional 2024 Visio Standard 2024 Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Access 2021 Visio Professional 2021 Visio Standard 2021 Excel 2019 Word 2019 Outlook 2019 PowerPoint 2019 Access 2019 Visio Professional 2019 Visio Standard 2019 Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016 Access 2016 Visio Professional 2016 Visio Standard 2016

Microsoft Visual Basic for Applications (VBA) enables non-programmers to record, create, and edit macros that can automate tasks in Office applications. This article explains where you can find help when you use the Visual Basic Editor provided in your Office application.

  1. On the Create tab, in the Macros & Code group, click Visual Basic.

  2. In the Visual Basic Editor, on the Help menu, click Microsoft Visual Basic for Applications Help.

  1. On the Developer tab, click Visual Basic.

    If you don't see the Developer tab:

    1. Click File > Options.

    2. Click Customize Ribbon, and then, under Main Tabs, select the Developer check box.

    3. Click OK.

  2. In the Visual Basic Editor, on the Help menu, click Microsoft Visual Basic for Applications Help.

See Also

Quick start: Create a macro

Run a macro

  1. On the Developer tab, click Visual Basic.

    If you don't see the Developer tab:

    1. Click File > Options.

    2. Click Customize Ribbon, and then, under Main Tabs, select the Developer check box.

    3. Click OK.

  2. In the Visual Basic Editor, on the Help menu, click Microsoft Visual Basic for Applications Help.

  1. On the Developer tab, click Visual Basic.

    If you don't see the Developer tab:

    1. Click File > Options.

    2. Click Customize Ribbon, and then, under Main Tabs, select the Developer check box.

    3. Click OK.

  2. In the Visual Basic Editor, on the Help menu, click Microsoft Visual Basic for Applications Help.

See Also

Create a macro in PowerPoint

Run a macro in PowerPoint

  1. On the Developer tab, click Visual Basic.

    If you don't see the Developer tab:

    1. Click File > Options.

    2. Click Customize Ribbon, and then, under Main Tabs, select the Developer check box.

    3. Click OK.

  2. In the Visual Basic Editor, on the Help menu, click Microsoft Visual Basic for Applications Help.

  1. On the Developer tab, click Visual Basic.

    If you don't see the Developer tab:

    1. Click File > Options.

    2. Click Customize Ribbon, and then, under Main Tabs, select the Developer check box.

    3. Click OK.

  2. In the Visual Basic Editor, on the Help menu, click Microsoft Visual Basic for Applications Help.

See Also

Create or run a macro

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.