A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
If this Excel program relies on both VBA macros and ActiveX controls, the behavior may be caused by different Office security settings. Since the exact warning is not included, please try the following based on what you see in Excel.
1/ Check for a Security Warning
Open the workbook in the Excel desktop app and check whether a yellow Security Warning or Message Bar appears.
If the file is from a source you trust and Excel provides an Enable Content option, select it and check whether the program starts working.
2/ Check the VBA macro setting
If Excel indicates that macros have been disabled: Go to File > Options > Trust Center > Trust Center Settings > Macro Settings.
Make sure macros are configured to notify you rather than being silently blocked. After changing the setting, reopen the workbook and check whether Excel allows you to enable the content.
I would not recommend selecting a setting that automatically enables all macros, as VBA code can execute when the workbook is opened.
3/ Check whether ActiveX is being blocked
Because the program also uses ActiveX, check: File > Options > Trust Center > Trust Center Settings > ActiveX Settings.
Microsoft 365 disables ActiveX controls by default in supported versions of Office. If the workbook is from a trusted source, review the available ActiveX setting and then reopen Excel to test the workbook.
If the ActiveX setting is unavailable or cannot be changed, it may be controlled by an organization or school policy.
4/ Check whether Windows has blocked the file
If the workbook was downloaded from the Internet or received from another source, Windows may mark it as coming from an untrusted location.
Close Excel, then: Right-click the workbook > Properties > General.
If an Unblock option is available under Security, select it > Apply > OK, and then reopen the workbook.
5/ Consider using a Trusted Location
If the workbook is known to be safe and you use it regularly, you can place it in an Excel Trusted Location: File > Options > Trust Center > Trust Center Settings > Trusted Locations > Add new location.
Then place the workbook in that trusted folder and test it again.
Please only use a Trusted Location for files and folders that you trust, because content such as macros and ActiveX controls may run without the same security prompts.
If the workbook still cannot run after these checks, especially if the security options are greyed out or changes are not retained, the device may be managed by your school or organization and an administrator may be enforcing the macro or ActiveX settings.
To identify the correct cause, please provide:
The exact error or warning message shown when you open the workbook.
The workbook file type, such as .xlsm or .xlsb.
Whether you are using Excel desktop for Windows or Excel for the web.
Where the file came from (for example, your school, email, a website, OneDrive, or SharePoint).
A screenshot of the warning, if possible, with any personal or confidential information removed.
With the exact warning message, I can determine whether the issue is related to VBA macros, ActiveX, Windows file blocking, or an organization-managed security policy.