Locking the Header and Footer

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top