- Joined
- Sep 21, 2008
- Messages
- 2
- Reaction score
- 0
I have a company letter head which is contained in the header/footer of the document template.
I would like to lock this down fully to prevent access by other users.
Currently, you can double click the header to ammend it.
I found this by googling:
http://word.mvps.org/faqs/customization/ProtectWord2000PlusHeader.htm
However, when I paste this into the "ThisDocument" area of the template using the visual basic editor in the macro dropdown, I get an error when double clicking the header or footer.
The error is:
"Run-time error '91':"
"Object variable or With block variable not set"
Any clues on this error, or pointers on a different method of securing the header/footer??
Thanks in advance!
I would like to lock this down fully to prevent access by other users.
Currently, you can double click the header to ammend it.
I found this by googling:
http://word.mvps.org/faqs/customization/ProtectWord2000PlusHeader.htm
However, when I paste this into the "ThisDocument" area of the template using the visual basic editor in the macro dropdown, I get an error when double clicking the header or footer.
The error is:
"Run-time error '91':"
"Object variable or With block variable not set"
Any clues on this error, or pointers on a different method of securing the header/footer??
Thanks in advance!