Hi Dan,
When I open your document (using Word 2000), with or without the macro in it, there's no evidence of design mode being active and I can protect/unprotect it at will.
I've re-saved the protected version without the macro. See if it works now on your system.
With the macro, you'd ordinarily put the code in a normal code module. Also, the line:
.FormsDesign = False
apparently needs to be changed to:
If .FormsDesign = True Then .ToggleFormsDesign
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|