About 1,710 results
Open links in new tab
  1. Create and save all your macros in a single workbook

    Macros and VBA tools can be found on the Developer tab, which is hidden by default, so the first step is to enable it. For more information, see Show the Developer tab.

  2. Work with VBA macros in Excel for the web - Microsoft Support

    Use the Excel Desktop App to create, edit and run VBA macros. You can view and edit macro-enabled workbooks in Excel for the web, but you need to edit the macros themselves in the Excel Desktop App.

  3. Find Help on using the Visual Basic Editor - Microsoft Support

    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 …

  4. Add or edit a macro for a control on a worksheet - Microsoft Support

    Oct 14, 2025 · Run Microsoft Visual Basic for Applications (VBA) code to process any events that occur when a user interacts with an ActiveX control. For more information about how to create macros, see …

  5. Assign a macro to a Form or a Control button - Microsoft Support

    In the sections below, learn how to add a macro to a button in Excel—for Windows or the Mac. Note: ActiveX controls are not supported on the Mac. Macros and VBA tools can be found on the …

  6. Macro to Loop Through All Worksheets in a Workbook

    Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a …

  7. Create a macro in Outlook - Microsoft Support

    Click Create to open Visual Basic for Applications (VBA). For information about how to run a macro in Outlook, see Run a macro in Outlook.

  8. Create or run a macro - Microsoft Support

    To save time on tasks you do often, bundle the steps into a macro. First, you record the macro. Then, you can run the macro by clicking a button on the Quick Access Toolbar or pressing a combination of …

  9. Quick start: Create a macro - Microsoft Support

    How to create, edit, and run Excel macros to automate data entry and tasks.

  10. Automate tasks with the Macro Recorder - Microsoft Support

    Macros can help you automate repetitive tasks and save time. You can use the macro recorder to record the macro or write your own macro script in VBA.

  11. Digitally sign your VBA macro project - Microsoft Support

    This article describes how you can digitally sign a macro project on Windows by using a certificate. If you don't already have a digital certificate, you'll need to get one. Tip: To use or test macro projects …