Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail Merge {inserttext} 1

Status
Not open for further replies.

pluto1415

MIS
Apr 28, 2009
78
US
I've got an 8 page mail merge document - it merges fine.
Page 8 of the document is a signature page - I need one signature page printed for each record of my dataset (but only 1 copy of the first 7 pages).
I've created a separate document that contains the text from page 8 called "fl pa sig page" my bookmark is "flpasigpage". On page 8 of my existing document, I've inserted {next} and then {inserttext "s:\\anntest\fl pa sig page" flpasigpage}.

Merge appears to work fine, but when I look at the merged document, it's 8 pages and the {inserttext....} line shows at the bottom of page 8. If I highlight it and right-click and choose 'toggle field codes' it displays the inserted text as I expected it to do. The problem is I don't want my users to have to right click and toggle. Any ideas?
 
Hi pluto1415,

The most likely reason you're seeing {INCLUDETEXT ....} is that you've got the field code display toggled on. You can toggle it off/on via Alt-F9.

Unfortunately, field code display is a user-controlled setting and is not document-specific. There's good news, however - you can get the mailmerge to convert the INCLUDETEXT field to plain text. All you need to do is:
1. Select the whole INCLUDETEXT field.
2. Press Ctrl-F9 to embed the INCLUDETEXT field in another fieled (ie '{{INCLUDETEXT ....}}')
3. Edit the enclosing field so that you get '{IF TRUE {INCLUDETEXT ....}}'
4. Run your mailmerge.

Cheers

[MS MVP - Word]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top