Dear Jessica,
Per the description shared, if you are encountering the "A potentially dangerous macro has been blocked" error message while trying to open an Excel file with macros, it is likely because Excel's security settings are preventing the macros from running. To unblock the macro and enable it to run, follow these steps:
- Open the Excel file with macros.
- Click on the "File" tab in the ribbon.
- Click on "Options" at the bottom of the menu.
- In the Excel Options dialog box, select "Trust Center" from the left-hand menu.
- Click on the "Trust Center Settings" button.
- In the Trust Center dialog box, select "Macro Settings" from the left-hand menu.
- In the Macro Settings section, select "Enable all macros" or "Disable all macros except digitally signed macros" depending on your preferences.
Note: "Disable all macros with notification" option will prompt you each time a macro is trying to rn, so that you can choose to enable or disable it.
- Click "OK" to save the changes and exit the Trust Center dialog box.
- Close and reopen the Excel file with macros. You should now be able to use the macros without any issues
If the above steps don't work, you can try enabling the macros through the Visual Basic Editor (VBE) by pressing "Alt + F11" to open the VBE, navigating to "Tools" > "Options" > "Security" and setting the "Macro Security" level to "Low". However, it is recommended to set the security level back to its original setting once you have enabled the macros.
If still the same problem, can you confirm whether the problem is only with a specific file or all files in the location where they are stored?
Sincerely,
Mia | Microsoft Moderator