DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
Cupertino desk4 min

How to Enable Macros in Excel: Windows and Mac Steps

Learn where Excel’s macro settings are on Windows and Mac, how to approve one trusted workbook, and what to do when policy blocks macros.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a workbook you trust, keep Excel’s macro warning enabled and approve that workbook when prompted. On Windows, go to File > Options > Trust Center > Trust Center Settings > Macro Settings; on Mac, use Excel > Preferences > Security. You can view and edit a workbook without enabling its macros.

Before you enable macros

Macros automate tasks in a workbook, but they can also run harmful code. Microsoft warns: “Never enable macros in a Microsoft 365 file unless you’re sure you know what those macros do and you want the functionality they provide.” If you only need the spreadsheet’s data or formulas, leave macros disabled.

As an Amazon Associate I earn from qualifying purchases.

When a workbook from a source you trust opens with a security warning, use Enable Content and confirm the trust prompt if you want its macros to run. This is a per-workbook decision. Avoid enabling all macros just to get one file working.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Enable macros in Excel for Windows

Set the macro security option

  1. In Excel, select File > Options.
  2. Choose Trust Center > Trust Center Settings.
  3. Open Macro Settings, choose an option, and select OK.

If the Developer tab is already visible, Developer > Macro Security opens the same settings. To show that tab, choose File > Options > Customize Ribbon, check Developer, and select OK.

#1 Best Overall
Sale
Microsoft Excel Laminated Two-Sided Keyboard Shortcut Guide - Windows Edition
  • Over 215 Microsoft Windows Excel Shortcuts
  • Two-Sided Durable Laminiated Sheet
  • Designed for Excel on a Windows Computer

Choose the appropriate setting

Setting What it does When it may fit
Disable all macros without notification Blocks macros and does not show a macro warning. When macros should not run and you do not need prompts.
Disable all macros with notification Blocks macros by default and lets you respond to a warning for a workbook. Microsoft describes notification as the case-by-case default in its Excel guidance; it is the practical choice for deciding per file.
Disable all macros except digitally signed macros Allows signed macros from trusted publishers while disabling unsigned macros. When you rely on a publisher whose signature you trust. A signature identifies the signer and indicates the file or project has not changed since signing; it does not prove the macro is harmless.
Enable all macros Allows macros to run without the usual blocking safeguard. Microsoft marks this option as not recommended because potentially dangerous code can run.

For option definitions and Windows steps, see Microsoft’s macro security settings guide.

Enable macros in Excel for Mac

Excel for Mac uses its own preferences path, not Windows’ File and Options menus:

Rank #2
Sale
Microsoft Surface Pro Keyboard with Pen Storage, Compatible with Copilot+ (11th Edition), Surface 9 and 8, Alcantara Material, Black
  • Instant Copilot. Unlock new possibilities with the dedicated Copilot key, which gives you instant access to experiences that can enhance your productivity¹.
  • Enhance your experience With the new microphone mute key and snipping key
  • Full keyboard experience. Features a full mechanical keyset, backlit keys, and a large trackpad for precise navigation and control. Optimal key spacing allows fast, fluid typing.
  • Slim and compact Performs like a traditional, full-size keyboard.
  • Clicks in place instantly Use in combination with the Surface Pro (11th Edition), Pro 9 and Pro 8* kickstand for a perfect laptop experience anywhere.
  1. Select Excel > Preferences.
  2. Choose Security.
  3. Select Disable all macros with notification, Disable all macros without notification, or Enable all macros, as appropriate.

Microsoft says notification is the default and warns that allowing all macros runs both safe and harmful macros without further warning. These instructions apply to Microsoft 365 for Mac, Excel 2024 for Mac, and Excel 2021 for Mac. See Microsoft’s Mac macro settings instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Run a macro after allowing it

To run a macro from Excel’s list, select Developer > Macros, choose the macro, and select Run. If Developer is not visible, enable it through Windows Ribbon customization or, on Mac, Excel > Preferences > Ribbon & Toolbar. The Developer tab is a way to access and run macros; it does not change macro security by itself. Microsoft also documents assigning macros to shortcuts or controls. See Microsoft’s guide to running macros.

Rank #3
Pixiecube Excel Cheat Sheet Desk Pad | Excel Shortcut Keys Mouse Pad | Extended Large XL Gaming Mousepad | PC Office Spreadsheet Keyboard Mat | Non-Slip Stitched Edge
  • EXCEL SHORTCUTS. ZERO SEARCHING. – Our bestselling reference mat puts an extensive collection of commonly used commands, formulas and helpful tricks directly beneath your fingertips so you can find answers fast, work smarter and stay in the flow.
  • YOUR DESK. SMARTER. – Clearly organized sections for navigation, selection, formatting, data and functions make it easy to find the right Excel command exactly when you need it.
  • LEARN, WORK & RESET – Built-in desk-exercise diagrams give you 10 quick ways to stretch, recharge and return to work feeling sharper.
  • ROOM TO WORK & CREATE – The extended 31.5 x 11.8-inch Pixiecube desk mat fits a laptop or keyboard and mouse, while the soft 2 mm surface adds comfort and protects your desktop.
  • BUILT FOR REAL-WORLD WORKDAYS – A rugged stitched edge helps prevent fraying, and the water-resistant, stain-resistant surface protects against scratches, spills and everyday wear—because smarter desks should work harder.

If Excel still blocks the workbook

The file came from the internet

Some internet-origin workbooks may be blocked by policy outside the normal Trust Center notification flow. Do not assume changing the general macro setting will clear that block; consult your organization’s IT administrator or Microsoft’s guidance on macros from the internet being blocked by default in Office for applicable steps.

The setting is unavailable or locked

Trust Center settings apply to Excel rather than every Office app. An organization administrator can also prevent users from changing them. If the control is unavailable or changes do not take effect on a managed device, ask your IT administrator rather than trying to bypass the policy.

Rank #4
Sale
Incase Wired Keyboard 600 – Designed by Microsoft – Spill Resistant, Quiet Touch Keys, Plug and Play, 4 Hotkeys, Windows Start Key – Black
  • Efficient Media Controls: The Wired Keyboard 600, designed by Microsoft, features a Media Center with four hot keys for easy control of play/pause, volume up, volume down, and mute functions.
  • Quiet and Responsive Keys: Enjoy a comfortable typing experience with quiet, thin-profile keys that are both responsive and efficient.
  • Convenient Shortcuts: Quickly access common tasks with dedicated shortcut keys, including a calculator hot key and a Windows start screen key.
  • Spill-Resistant Design: Work confidently with a spill-resistant design that protects your keyboard from accidental messes.
  • Plug-and-Play Simplicity: No software needed—just connect the keyboard to your PC and start using it right away, with a full number pad for efficient data entry.

The workbook uses Excel 4.0 macros

Excel 4.0 (XLM) macros are distinct from VBA macros. Microsoft documents a separate option for allowing XLM macros when VBA macros are enabled; if that checkbox is not selected, XLM macros remain disabled without notification. Do not assume a VBA setting enables every macro type.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You are considering a trusted location

Files in a trusted location are not checked by Trust Center. Use such locations only when you understand that this extends trust to files placed there; for a single known workbook, the notification and per-workbook trust workflow is narrower.

Best Value
SYNERLOGIC Microsoft Word/Excel (for Windows) Reference Guide Keyboard Shortcut Sticker, Laminated, No-Residue Vinyl (White/Small)
  • 💻 ✔️ EVERY ESSENTIAL SHORTCUT - With the SYNERLOGIC Reference Keyboard Shortcut Sticker, you have the most important shortcuts conveniently placed right in front of you. Easily learn new shortcuts and always be able to quickly lookup commands without the need to “Google” it.
  • 💻✔️ Work FASTER and SMARTER - Quick tips at your fingertips! This tool makes it easy to learn how to use your computer much faster and makes your workflow increase exponentially. It’s perfect for any age or skill level, students or seniors, at home, or in the office.
  • 💻 ✔️ New adhesive – stronger hold. It may leave a light residue when removed, but this wipes off easily with a soft cloth and warm, soapy water. Fewer air bubbles – for the smoothest finish, don’t peel off the entire backing at once. Instead, fold back a small section, line it up, and press gradually as you peel more. The “peel-and-stick-all-at-once” method only works for thin decals, not for stickers like ours.
  • 💻 ✔️ Compatible and fits any brand laptop or desktop running Windows 10 or 11 Operating System.
  • 💻 ✔️ Original Design and Production by Synerlogic Electronics, San Diego, CA, Boca Raton, FL and Bay City, MI, United States 2020. All rights reserved, any commercial reproduction without permission is punishable by all applicable laws.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What to do in brief

  • For one known workbook, keep notifications on and approve that file only if you trust its source and need its macros.
  • On Windows, use File > Options > Trust Center > Trust Center Settings > Macro Settings; on Mac, use Excel > Preferences > Security.
  • Leave macros disabled if you only need to view or edit the workbook.
  • Do not treat a digital signature as a safety guarantee, or enable all macros as a routine fix.

For Microsoft’s full guidance, see Enable or disable macros in Microsoft 365 files.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.