Search code examples
excelvbaencryptiondisable

How to solve the problem in excel: Macros are disabled


I have an excel file with some macros inside where the sheets are protected with password and the workbook is encrypted with password as well. It opened and work well last week but today I encountered a problem.

The macros are disabled and I can't figure out how to enable it. Upon opening the file I only get a security warning stating "Macros have been disabled" with an 'Options" button. Clicking it I get the message stating that to run the Macros I need to remove encryption or permission restrictions on the file.

May I know why the file works well last week but now I need to remove the encryption/permission restriction in order to run the Macros inside the file? What can I do to my excel file setting? Any helps will be greatly appreciated!

enter image description here


Solution

  • Try on File tab -> Option -> Trust Center ->Trust Center Settings -> Macro Settings -> Enable all Macros