Applies ToExcel 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.

  3. If you haven’t used Access VBA Help before, you will be asked to choose the browser in which you’d like help to be displayed.

  4. In the browser, on the left pane, under Access, expand the Access VBA reference.

  5. In the left pane, browse to find the concept, procedure, or object that you want help with, or type a query in the Search box at the top right corner of your screen.

  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.

  3. If you haven’t used Excel VBA Help before, you will be asked to choose the browser in which you’d like help to be displayed.

  4. In the browser, on the left pane, under Excel, expand the Excel VBA reference.

  5. In the left pane, browse to find the concept, procedure, or object that you want help with, or type a query in the Search box at the top right corner of your screen.

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.

  3. If you haven’t used Outlook VBA Help before, you will be asked to choose the browser in which you’d like help to be displayed.

  4. In the browser, on the left pane, under Outlook, expand the Outlook VBA reference.

  5. In the left pane, browse to find the concept, procedure, or object that you want help with, or type a query in the Search box at the top right corner of your screen.

  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.

  3. If you haven’t used PowerPoint VBA Help before, you will be asked to choose the browser in which you’d like help to be displayed.

  4. In the browser, on the left pane, under PowerPoint, expand the PowerPoint VBA reference.

  5. In the left pane, browse to find the concept, procedure, or object that you want help with, or type a query in the Search box at the top right corner of your screen.

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.

  3. If you haven’t used Visio VBA Help before, you will be asked to choose the browser in which you’d like help to be displayed.

  4. In the browser, on the left pane, under Visio, expand the Visio VBA reference.

  5. In the left pane, browse to find the concept, procedure, or object that you want help with, or type a query in the Search box at the top right corner of your screen.

  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.

  3. If you haven’t used Word VBA Help before, you will be asked to choose the browser in which you’d like help to be displayed.

  4. In the browser, on the left pane, under Word, expand the Word VBA reference.

  5. In the left pane, browse to find the concept, procedure, or object that you want help with, or type a query in the Search box at the top right corner of your screen.

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.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.