R
Ray Vaughn
Hi All,
I have a word 2007 document where my macro settings are set to low,
enable all macros. This document also has a custom toolbar that shows
up under the Add-Ins that will run one of my macros. I have protected
sections in the document and have the document protected. It seems
that when the document is protected, I cannot run a macro from the
toolbar. The macros button is also disabled. When I unprotect,
everything is allowed to run.
Here is the protect code:
ActiveDocument.Protect Password:="xxxxxxxx", NoReset:=False, Type:= _
wdAllowOnlyFormFields
Does anyone know how to protect the document but allow a macro to run
from a custom toolbar?
Thanks for any help,
- Steve
I have a word 2007 document where my macro settings are set to low,
enable all macros. This document also has a custom toolbar that shows
up under the Add-Ins that will run one of my macros. I have protected
sections in the document and have the document protected. It seems
that when the document is protected, I cannot run a macro from the
toolbar. The macros button is also disabled. When I unprotect,
everything is allowed to run.
Here is the protect code:
ActiveDocument.Protect Password:="xxxxxxxx", NoReset:=False, Type:= _
wdAllowOnlyFormFields
Does anyone know how to protect the document but allow a macro to run
from a custom toolbar?
Thanks for any help,
- Steve