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 automatically.

  2. 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 the ribbon.

  3. 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.

  4. 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 of them.

  5. 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 want. When …

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

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

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

    You can use a Form control button or a command button (an ActiveX control) to run a macro that performs an action when a user clicks it. Both these buttons are also known as a push button, which …

  9. 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 use it again in the …

  10. 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.