October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Open and Run Old Excel 4.0 Macro Sheets Safely

Use Excel’s File Block and Macro Settings to open and run an XLM workbook without enabling every macro. Verify the file first; settings do not establish that it is safe.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

You can open and run an old Excel 4.0 macro sheet (XLM) in supported desktop versions of Excel by allowing the file type in File Block Settings and enabling XLM in Macro Settings. Keep Excel’s macro policy restrictive and decide whether to enable code only for a workbook whose source and purpose you can verify. These settings permit execution; they do not certify that a file is safe.

Before you enable an XLM macro

Excel 4.0 macros are also called XLM macros and are stored in macro sheets. Microsoft lists Microsoft 365, Excel 2024, and Excel 2021 among the versions that still support them. Its guidance encourages users to migrate XLM macros to VBA for long-term use. Microsoft: Working with Excel 4.0 macros

As an Amazon Associate I earn from qualifying purchases.

First, check who sent the workbook and why you need it. A message such as “Because of your security settings, macros have been disabled” reports Excel’s current protection state; it does not show whether the workbook is benign. If you cannot verify the file’s origin and purpose, leave its macros disabled. Microsoft warns that enabling all macros can allow potentially dangerous code to run. Microsoft: Enable or disable macros in Microsoft 365 files Microsoft: Change macro security settings in Excel

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

Allow Excel 4.0 macro sheets to open

File Block Settings determine whether Excel permits this file type to open. Macro Settings separately determine whether its code may run.

  1. In Excel, go to File > Options > Trust Center > Trust Center Settings > File Block Settings.
  2. Find Excel 4 MacroSheets and make sure Open is checked.
  3. Follow Microsoft’s XLM guidance for the selected file types’ open behavior: choose Open selected file types in Protected View and allow editing.

For Microsoft’s full XLM-specific procedure, see Working with Excel 4.0 macros.

Enable XLM under a restrictive macro policy

  1. Go to File > Options > Trust Center > Trust Center Settings > Macro Settings.
  2. Select Enable Excel 4.0 macros when VBA macros are enabled. When selected, the VBA macro policy also applies to XLM. When it is cleared, XLM macros are disabled without notification. Microsoft explains the XLM checkbox and macro policies.
  3. For case-by-case decisions, keep Disable VBA macros with notification selected. Excel can then show a security alert so you can decide whether to enable macros for a particular file.
  4. Do not select Enable all macros as a workaround. Microsoft labels it “not recommended” because potentially dangerous code can run. See Microsoft’s descriptions of Excel macro security settings.

Reopen the workbook and make a file-specific decision

If Excel opened the workbook with its macros disabled, close and reopen it after changing the settings. Microsoft says an XLM workbook must be reopened and its macros enabled for them to run. Enable them only if you have established that the workbook is appropriate to trust; the warning or its dismissal is not a safety check.

If Excel won’t let you change the settings

Your organization may manage Office macro policy. If a setting is unavailable, greyed out, or changes back, contact the administrator responsible for Office rather than trying to bypass the control. Microsoft documents an administrative policy for restricting XLM macros, including Group Policy management. Microsoft Excel Blog: Restrict usage of Excel 4.0 (XLM) macros with new macro settings control

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Plan to migrate macros that remain in use

For recurring or business-critical workbooks, review the legacy macro and plan a migration to VBA. Microsoft still supports XLM in the listed Excel versions, but recommends migration and describes object-model additions intended to help replace some functions that previously lacked VBA equivalents. Check that a migrated workbook produces the expected results before relying on it.

Microsoft also describes runtime inspection of XLM macros using the Antimalware Scan Interface (AMSI). That protection depends on the registered antimalware provider and security configuration, so it is an additional defense—not a reason to trust an unknown workbook. Microsoft Security: XLM + AMSI: New runtime defense against Excel 4.0 macro malware

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 *

Free tools Windows power users keep installed

One-click scans. No signup required.

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
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver 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.