A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
If Excel shows a macro security banner without Enable Content, close the workbook and remove its internet-origin block from the file’s Windows properties.
Unblock the QuickBooks-generated workbook
Only proceed if the workbook came from a trusted QuickBooks workflow and you expected it to contain macros.
- Close the workbook and Excel.
- In File Explorer, locate the actual Excel file.
- Right-click it and select Properties.
- On the General tab, look near the bottom for:
- Security: This file came from another computer...
- An Unblock checkbox
- Select Unblock, then Apply and OK.
- Reopen the workbook.
Files downloaded from the internet or received as email attachments can receive Windows’ Mark of the Web. For these files, Excel displays a Security Risk banner without an Enable Content button; selecting Unblock removes that mark and permits macros unless another setting or policy blocks them.^1^
This is different from adding the workbook as a trusted document, which you already tried.
If “Unblock” is unavailable
Check Excel’s notification setting:
- Open Excel without opening the workbook.
- Select File → Options → Trust Center → Trust Center Settings → Macro Settings.
- Select Disable VBA macros with notification.
- Select OK, close Excel, and reopen the workbook.
This setting should produce a notification that allows macros to be enabled case by case. Avoid Enable VBA macros, which permits potentially dangerous code in every workbook.^2^
If that setting is unavailable, locked, or has no effect, the computer may be controlled by an organization policy. A policy such as Disable VBA macros without notification can prevent the file from being made trusted at all.^3^ Contact the Microsoft 365 or IT administrator and provide:
- The exact security-banner wording
- The workbook’s source, such as QuickBooks, email, browser download, OneDrive, or a network share
- The workbook extension, such as
.xlsmor.xltm - Whether Unblock appears in file properties
- The selected option under Macro Settings
Ask the administrator to verify the Excel Macro Notification Settings policy or approve a signed macro/trusted source rather than enabling all macros globally.
These particular Unblock instructions apply to Excel on Windows. Microsoft’s internet-origin macro-blocking change does not apply to Office on macOS or Office for the web.^1^
References