
Quick start: Create a macro | Microsoft Support
A macro is an action or a set of actions that you can run as many times as you want. When you create a macro, you are recording your mouse clicks and keystrokes.
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.
Game Bar Compact Mode | Xbox Support
Find out how to use Game Bar Compact Mode on small screens, handhelds, and when using a controller when playing Xbox games.
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.
Enable or disable macros in Microsoft 365 files
A macro is a series of commands used to automate a repeated task and can be run when you have to perform the task. However, some macros can pose a security risk by introducing viruses or malicious …
Add or edit a macro for a control on a worksheet | Microsoft Support
Oct 14, 2025 · Perform an action or operation when a user clicks a form control by assigning a macro to it. Run Microsoft Visual Basic for Applications (VBA) code to process any events that occur when a …
Create or run a macro | Microsoft Support
In Word, you can automate frequently used tasks by creating and running macros. A macro is a series of commands and instructions that you group together as a single command to accomplish a task …
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.
Create and save all your macros in a single workbook
When you first create a macro in a workbook, it works only in that workbook. But what if you want to use the macro in other workbooks? To make your macros available every time you open Excel, you can …
How to dynamically add and run a VBA macro from Visual Basic
Demonstrates how to dynamically add a VBA module to a running Office application from Visual Basic, and then call the macro to fill a worksheet in-process.
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 …