change automationsecurity settings

Add-in Express™ Support Service
That's what is more important than anything else

change automationsecurity settings
Bart Van Bossche

Posts: 11
Joined: 2014-01-09

When we install our programs at our new clients, we have to open Word on each computer and change several settings.
We created an addin for word that has several functions linked to our program, but when Word is launched, our addin will also check some settings in Word and change those to our settings (like the workgroup templates directory).

Now our employees have to open Word on each computer just to go to the trust center and change the automationsecurity setting to enable all macros (msoAutomationSecurityLow).
You can change this setting in VBA using Application.AutomationSecurity.
How can we do this from our addin? I can find that property in the WordApp object...

Thanks in advance!

Posted 28 Aug, 2014 03:13:23 Top
Andrei Smolin

Add-in Express team

Posts: 14137
Joined: 2006-05-11
Hello Bart,

That property is available for Excel projects only, see It doesn't exist on the Word object model or any other object model in Office.

I suggest that you google for changing this setting by changing Office settings in the registry. See e.g. These settings may depend on the Office version used.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 28 Aug, 2014 10:42:20 Top