Macro activation error
Solvedvcloclo1 Posted messages 493 Registration date Status Member Last intervention -
Hello,
I am currently creating an Excel file with a macro. Since the beginning, I was able to get my file to work during my tests.
Then, for no reason, I find myself with an error and my macros no longer work. The PC blocks me even though everything was functioning until now.
Here is a screenshot:
8 answers
-
Hello,
The message is clear to me, your system administrator must have changed the GPO (Group Policy Object), check with him!
See you!
-
Hello,
We cannot know for this particular file without having it.
Generally speaking, Excel cries that macros or the origin of the files are not allowed in Options-Trust Center-Settings which you should adapt accordingly. -
Hello,
Click on File, Options, Trust Center, Trust Center Settings, Approved Documents. Click on the "Clear all approved documents" button so that they are no longer approved.
Without warranty...
Daniel
-
Do you have the same problem with another workbook containing macros?
Daniel
-
PS. Do you receive the same message when the workbook is no longer approved?
-
Hello thread,
Has there been an update to Office without your knowledge?
Do you use xl4 macros in your code, or in a named formula?
-
Hello,
Could you upload your file, with no data but all the codes? (I specify, the original file, from which you remove all the data, but you keep all the tabs and the codes)
You can post it on cjoint.com, and put the link here
-
Issue resolved, I checked the boxes "Enable Excel 4.0 macros when VBA macros are enabled" and also "Trusted access to the VBA project object model"
Now everything is working again.
