G
Guest
I am using the macro from MVP site. I was able to get it to work fine when I
assigned it to a control button. Then I moved the buton into a text box so
that it wouldn't show when printing the document and now it doesn't work.
The macro stops at this point.
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True,
Password:="anderson12"
This code is all on one line, it just splits it on 2 here. I have also
tried using odoc instead of activedocument and this doesn't work either.
Can anyone help?
Thanks Mike Anderson
assigned it to a control button. Then I moved the buton into a text box so
that it wouldn't show when printing the document and now it doesn't work.
The macro stops at this point.
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True,
Password:="anderson12"
This code is all on one line, it just splits it on 2 here. I have also
tried using odoc instead of activedocument and this doesn't work either.
Can anyone help?
Thanks Mike Anderson