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.

Using Word 2010, I've added a custom property to my document, Something, and I've set the value to XYZ. In the document, I hit Ctrl+F9 to insert a reference, and I type { DOCPROPERTY [Something] }. When I go to print preview, the page is blank, and returning to my document, I find my reference is now gone.

What is the proper way to insert a reference to a document property?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Try it without the square brackets, i.e.

{ DOCPROPERTY Something }

Press F9 after you type the field name, and it should update correctly to your field value.

share|improve this answer
    
Okay, that helped - the value shows up and it stays there now. But when I change the value in the Advanced Properties dialog, the references in the document retain the old value. –  Josh M. May 31 '11 at 18:08
    
After you change the value in Advanced Properties, you need to select the field and press F9 to update the field value (there are a few other times Word will do this automatically - such as when you print). –  Geoff Oct 17 '11 at 16:25

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.