Reply
 
Thread Tools Display Modes
  #1   Report Post  
Marge
 
Posts: n/a
Default 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   Report Post  
Peter Jamieson
 
Posts: n/a
Default

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   Report Post  
Marge
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add code to select email field in mailmerge! Hans Mailmerge 4 February 3rd 05 06:47 AM
Home Phone field not getting picked up in Merge Cathleen McGuire Mailmerge 4 January 7th 05 03:13 AM
Macro to Find/Replace (with MailMerge Field)? aiyou Mailmerge 1 December 8th 04 07:39 AM
Conditionally display a paragraph using a MailMerge field? Dave Mailmerge 2 December 8th 04 01:15 AM
field calculation error, mailmerge, Cindy M -WordMVP- Mailmerge 0 November 30th 04 05:25 PM


All times are GMT +1. The time now is 09:54 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"