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'd like to put some instructional text in a Word 2007 merge master document, but upon merging, not have the text present (or at least, not visible).

The text won't print, because it is hidden, but even so, it would be nice if it weren't in the final document.

Is there a way to do this? I'd be content with any solution that will provide visible text. A field code that can tell if the document is a master document would be great, e.g. { IF [IsMergeMasterDocument] = "True" "the text" ""}. Or some kind of comment or note that goes away during a merge.

(For the curious, the text tells the user that there are field codes present hiding some content and they must turn on field code viewing or press Shift-F9 to see them).

share|improve this question

It sounds like you are on the right track with an IF field. Do you have control of the datasource? If so, you can include a field with an empty value (let's call it IsMerged) and then use this: { IF [IsMerged] <> "" "the text" ""}

share|improve this answer

You must log in to answer this question.

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