Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a template that uses a number of Document Meta data in it's header/footer, like for example the Title, the Subject, Author of the document etc. Is it possible to instruct MS Word to ask user about those fields when they are empt

share|improve this question
    
What have you tried or researched? –  CharlieRB Feb 18 '13 at 14:12
add comment

1 Answer

You can achieve this by using an IF field and a content control linked to the document property of your choosing. This is what the field code should look like, the content in the square brackets is a Title content control which was inserted using Quick Parts -> Document Property -> Title.

{ IF { DOCPROPERTY Title } = "" "Please enter a document title: [Title] " "" }

Note there must be a space between the content control and the closing speech-mark.

I have uploaded an example document which demonstrate this. The only downside is that after the user enters in a value for the title and clicks away the prompt doesn't disappear, this must be done by pressing F9 to update fields or if you put the whole field in the header footer, by going into print preview.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.