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 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
add comment

1 Answer 1

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
2  
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
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.