Enable or disable macros in Microsoft 365 files
Learn how to enable or disable macros in Excel and other Microsoft 365 apps to automate tasks or protect your computer from malicious code. See the options, settings, and tips for different scenarios and security levels.
Applies To: Excel for Microsoft 365, Word for Microsoft 365, Outlook for Microsoft 365, PowerPoint for Microsoft 365, Access for Microsoft 365, Excel 2024, Word 2024, Outlook 2024, PowerPoint 2024, Access 2024, Visio Professional 2024, Visio Standard 2024, Excel 2021, Word 2021, Outlook 2021, PowerPoint 2021, Access 2021, Visio Professional 2021, Visio Standard 2021, Excel 2019, Word 2019, Outlook 2019, PowerPoint 2019, Access 2019, Visio Professional 2019, Visio Standard 2019, Excel 2016, Word 2016, Outlook 2016, PowerPoint 2016, Access 2016, Visio Professional 2016, Visio Standard 2016