View Single Post
 
Old 10-12-2014, 04:36 PM
NobodysPerfect NobodysPerfect is offline Windows 8 Office 2010 32bit
Competent Performer
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi Paul,

Quote:
Unfortunately, whenever you hard-format a cross-reference, Word 'helpfully' adds the MERGEFORMAT switch.
Another helpful feature to cope with ...

Quote:
then use Find/Replace to delete the switches, via:
Find = \* MERGEFORMAT<space>
Replace = nothing
That's of course the fastest way, but an additional step ...

Quote:
Do note that, when adding the \* CHARFORMAT switch, you need only format the first character of the field code, in this case the 'R' of the field's 'REF' expression.
My crossreference macro only formats the first character of the { REF } fields ({ REF Name \* Charformat }, but nevertheless ...
Quote:
Not applying the format to the whole field will avoid the addition of the extraneous \* MERGEFORMAT switch.
... Word keeps adding the \* MERGEFORMAT switch.


Seem to be one of those features "resulting from far too many Tia Marias laced with vodka" (http://word.mvps.org/faqs/tblsfldsfms/FastTables.htm).

NP
Reply With Quote