Home |
Search |
Today's Posts |
#1
|
|||
|
|||
TOC field and mailmerge
Please help!!!
I've made a document with an index and some merge fields. When I merge this same document the index is changed into a index based upon hyperlinks (which make the fonttype blue and underlined). Why is this happening, and how can I prevent this? Please help me... |
#2
|
|||
|
|||
Assuming you ean "TOC" and not "index", yes, the TOC is lost during the
merge. If you just want the same text that you see prior to the merge, you might be slightly better off if you remove the \h and possibly \z switches from the TOC field. Or you could select the TOC and use ctrl-shift-F9 to replace the field by its result. However, the chances are that the TOC is not going to work the way you want during a merge. First, there will be one TOC per erged record unless you use soething like { IF { MERGEREC } = 1 "{ TOC }" "" }. Second, the TOC does not update correctly, so that even if you are using Heading styles to generate your TOC entries, you will not get the correct results. Third, if you are using any bookarks and possibly other TOC features which are destroyed durign the merge, you will not get what you want. In soe cases it may make sense simply to insert the TOC after the merge and execute it. You could store the TOC with all the switches you need in an AUTOTEXT entry, insert it using a macro, keep it in a separate document and include it via an INCLUDETEXT field(which should survive the merge and might do most of what you need, but beware if you are sharing this file amongst several erge main documents. Peter Jamieson "Marge" wrote in message ... Please help!!! I've made a document with an index and some merge fields. When I merge this same document the index is changed into a index based upon hyperlinks (which make the fonttype blue and underlined). Why is this happening, and how can I prevent this? Please help me... |
#3
|
|||
|
|||
He Peter,
Thanks, ctrl+shift+F9 did the trick. Marge -----Original Message----- Assuming you ean "TOC" and not "index", yes, the TOC is lost during the merge. If you just want the same text that you see prior to the merge, you might be slightly better off if you remove the \h and possibly \z switches from the TOC field. Or you could select the TOC and use ctrl- shift-F9 to replace the field by its result. However, the chances are that the TOC is not going to work the way you want during a merge. First, there will be one TOC per erged record unless you use soething like { IF { MERGEREC } = 1 "{ TOC }" "" }. Second, the TOC does not update correctly, so that even if you are using Heading styles to generate your TOC entries, you will not get the correct results. Third, if you are using any bookarks and possibly other TOC features which are destroyed durign the merge, you will not get what you want. In soe cases it may make sense simply to insert the TOC after the merge and execute it. You could store the TOC with all the switches you need in an AUTOTEXT entry, insert it using a macro, keep it in a separate document and include it via an INCLUDETEXT field(which should survive the merge and might do most of what you need, but beware if you are sharing this file amongst several erge main documents. Peter Jamieson "Marge" wrote in message ... Please help!!! I've made a document with an index and some merge fields. When I merge this same document the index is changed into a index based upon hyperlinks (which make the fonttype blue and underlined). Why is this happening, and how can I prevent this? Please help me... . |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Add code to select email field in mailmerge! | Mailmerge | |||
Home Phone field not getting picked up in Merge | Mailmerge | |||
Macro to Find/Replace (with MailMerge Field)? | Mailmerge | |||
Conditionally display a paragraph using a MailMerge field? | Mailmerge | |||
field calculation error, mailmerge, | Mailmerge |