Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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

  1. On the Database Tools tab, in the Macro 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.

  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.

  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.

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.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×