
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.
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.
Automate tasks with the Macro Recorder - Microsoft Support
Macros and VBA tools can be found on the Developer tab, which is hidden by default, so the first step is to enable it. Go to Excel > Preferences… > Ribbon & Toolbar.
Working with Excel 4.0 macros - Microsoft Support
Click Macro Settings, and then select the Enable Excel 4.0 macros when VBA macros are enabled check box. You can then select Disable VBA macros with notification or Enable all …
Enable or disable macros in Microsoft 365 for Mac
To be prompted each time a macro is detected, select Disable all macros with notification. This is the default setting. To silently disable all macros, select Disable all macros without notification. …
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 …
Quick start: Create a macro - Microsoft Support
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.
Create and save all your macros in a single workbook
To make your macros available every time you open Excel, you can create them in a workbook called Personal.xlsb. That’s a hidden workbook stored on your computer, which opens in the …
Show the Developer tab - Microsoft Support
Write macros. Run macros that you previously recorded. Use XML commands. Use ActiveX controls. Create applications to use with Microsoft 365 programs. Use form controls in …
Work with VBA macros in Excel for the web - Microsoft Support
Although you can't create, run, or edit VBA (Visual Basic for Applications) macros in Excel for the web, you can open and edit a workbook that contains macros. Any existing macros will remain …