View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Mike Starr Mike Starr is offline
external usenet poster
 
Posts: 39
Default InsertCross reference... mergeformat by default??

Hi Cindy,

"Cindy M -WordMVP-" wrote in message
news:VA.0000c0c1.00d10af4@speedy...
Hi Mike,

I use a lot of cross references and after I've inserted them, I apply a
character style to show that they're active links when I generate a PDF

of
the document. It's a real pain in the patoot having to tweak each

inserted
cross reference to add the mergeformat. Is there any way I can make sure
that my inserted cross references always have the mergeformat option

enabled
by default??

MergeFormat? I'd have though CharFormat would be the better choice...

And no, I no of no way to force either one. If you're open to a macro
solution, it ought to be possible to write a little macro that loops

through
all the fieds in a document, checks if they're REF fields (and could also
check what kind of bookmark name, if that's important), then add this

switch
to the end of the field code.

Cindy Meister


Well, I don't know anything about CharFormat... I'll be looking into it.
However, I chose MergeFormat because that's what Word applies if I
right-click on the cross-reference link (Word 2002, SP3), choose the Edit
Field context menu item and then check the Preserve Formatting during
Updates checkbox.

I'm trying to get an understanding of when the Preserve Formatting during
Updates checkbox is checked by default and when it's not checked by default
when inserting cross references (99% of my cross references are to
headings). There seems to be something that controls it but I can't find it.
It seemed for a while that it would be checked by default unless I was
inserting a cross reference into a table cell, in which case it would be
unchecked by default. Lately, it's unchecked all the time. Why?? I haven't a
clue.

I do have a macro that I created to update a highlighted batch of cross
references but it's just annoying to me that sometimes I need to do it and
other times I don't need to do it and I can't figure out why grrr. I creat
ed it on the fly using the macro recorder while I did a search of a selected
batch of toggled cross references for \h and replaced it with \h
\*MERGEFORMAT.

Best regards,

Mike Starr