Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am struggling to reference a custom document property (DOCPROPERTY) with a space in the name, Blank Page.

This Question shows how to reference a document property : Word 2010: How to reference custom document properties? However, I have a DOCPROPERTY with the name Blank Page - how can I reference this?

share|improve this question
up vote 0 down vote accepted

The solution is to use {DOCPROPERTY "Blank Page"}

The " around the Name escapes the '' character.

share|improve this answer
For the sake of improving your answers, SU is looking for long answers that provide some explanation and context. Don't just give a one-line answer: please explain why you're recommending it as a solution. If you have a source reference, please link it. – CharlieRB Feb 13 '13 at 12:30
Whilst I generally agree with this notion I believe that this is an appropriately brief answer — a simple solution to a simple problem that simply fills a gap in documentation. I prefer a concise answer to a verbose answer where additional words would not add value. Please feel free to edit the answer if you have a useful addition. – JustinJDavies Feb 27 '13 at 10:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .