About 400 results
Open links in new tab
  1. Run a macro in Excel - Microsoft Support

    In Excel, you run a macro manually or automatically. A macro is an action or a set of actions that you can use to automate tasks. This topic shows you several ways to run macros manually or …

  2. Quick start: Create a macro - Microsoft Support

    If you have tasks in Microsoft Excel that you do repeatedly, you can record a macro to automate those tasks. A macro is an action or a set of actions that you can run as many times as you …

  3. Automate tasks with the Macro Recorder - Microsoft Support

    To automate a repetitive task, you can record a macro with the Macro Recorder in Microsoft Excel. Imagine you have dates in random formats and you want to apply a single format to all …

  4. 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 …

  5. Edit a macro - Microsoft Support

    Use the Visual Basic Editor on the Developer tab to edit macros, or learn how to change macro security settings.

  6. Assign a macro to a button - Microsoft Support

    After you create a macro, you can assign it to a button you click to run the macro. You can assign a macro to a button on the Quick Access Toolbar or to a button in your own personal group on …

  7. Enable or disable macros in Microsoft 365 files

    Improve security, evaluate and mitigate the risks of running macros, and see how to enable or disable macros for Microsoft 365.

  8. Change macro security settings in Excel - Microsoft Support

    Learn how to change the settings that enable or disable macros in Excel, and more. Change the macro security settings to control which macros run when you open a workbook.

  9. Test a macro by using Single Step mode - Microsoft Support

    By single stepping through a macro, you can observe the flow of the macro and the results of each action, and isolate any action that causes an error or produces unwanted results.

  10. Save a macro - Microsoft Support

    You create a macro in Excel by running the macro recorder or by using the Visual Basic for Applications (VBA) editor. After you've created your macro, you'll want to save it so you can …