Protect/unprotect header/footer

V

VBA Neophyte

Can you protect/unprotect a header/footer? Are these sections to which one
could apply .protect and .unprotect?
 
J

Jay Freedman

VBA said:
Can you protect/unprotect a header/footer? Are these sections to
which one could apply .protect and .unprotect?

A header or footer is not a section, it's a piece of a section. However, if
the section contains nothing else, then protecting the section is equivalent
to protecting the header/footer. This is the basis of a known trick of
inserting a section break at the very beginning of a document and protecting
Section 1 in order to lock the header on the first page.

An alternative method, if security issues don't prevent using a macro, is
given in
http://www.word.mvps.org/FAQs/Customization/ProtectWord2000PlusHeader.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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