Share via

Protected forms - how to include headers/footers

Anonymous
2011-04-04T12:04:06+00:00

I am designing a protected template in Word2010, to be filled in as a form. All is fine, except that when I protect the document to a form, the headers and footers become unavailable. Our form has some information that needs to be entered into the headers/footers. How do I get around this?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-04-04T12:23:57+00:00

The whole point of protected forms is that data entry is restricted to the form fields themselves. If you want to reproduce some information from those fields in the header/footer then you are going to have to use either a styleref field to include the content of a field formatted in a particular style, or you will need a macro to force the update of a REF field. REF fields in the document body will update if the calculate on exit check box of the feeding field is checked. REF fields in the header will not. Styleref fields update automatically.

You can use the example code at http://www.gmayor.com/installing_macro.htm to force the REF update, but note that you cannot force users to run your macro if they choose not to.

An alternative, as you have Word 2010, would be to use content controls, which do not require the document to be protected.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Suzanne S Barnhill 278.1K Reputation points MVP Volunteer Moderator
    2011-04-04T12:22:13+00:00

    If the information to be placed in the header/footer is provided in the body of the form, you can use a StyleRef field to include it in the header or footer, but otherwise it is not possible. See http://sbarnhill.mvps.org/WordFAQs/StyleRef.htm for more on using StyleRef.

    If all users of the form will be using Word 2007 or 2010, you could use content controls instead of legacy form fields.

    Was this answer helpful?

    0 comments No comments