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

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

link|improve this question

50% accept rate
feedback

1 Answer

up vote 3 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.

link|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
feedback

Your Answer

 
or
required, but never shown

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