Posted on 02-17-2017 02:10 AM
Can someone please help me to disable macros through the package level. The checkbox should be grayed out. Users cannot change the settings from prefereances. It has to disable. please help me how I can do this from the package level ? Or if you can provide any script to disable macro that helps me as well.
Posted on 07-27-2020 07:42 PM
After 3 years we are in the same boat. I would like to see the code to disable or grey it out.
Posted on 08-25-2021 04:16 PM
defaults write com.microsoft.office VisualBasicMacroExecutionState -string DisabledWithoutWarnings