
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 …
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.
Record a macro - Microsoft Support
A macro is a series of commands and functions that are stored in a module and can be run whenever you need to perform the task. On the View tab, select Macros, and then select …
Introduction to macros - Microsoft Support
Macros provide a subset of the commands that are available in VBA, and most people find it easier to build a macro than to write VBA code. For example, suppose that you want to start a …
Quick start: Create a macro - Microsoft Support
When you create a macro, you are recording your mouse clicks and keystrokes. After you create a macro, you can edit it to make minor changes to the way it works.
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.
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 …
Protect yourself from macro viruses - Microsoft Support
Learn what macro viruses are in Microsoft Office and how to protect yourself from them.
File formats that work with Visual Basic - Microsoft Support
File formats that work with Visual Basic Which Office program are you using? Word PowerPoint Excel Word You can create macros and then save the file in any of the following file types.
Open XML Formats and file name extensions - Microsoft Support
The "x" signifies an XML file that has no macros, and the "m" signifies an XML file that does contain macros. For example, when you save a document in Word, the file now uses the .docx …