![]() |
#1
|
|||
|
|||
![]()
I am trying to do a find and replace in Word that has cross references in the string.
I need to find Clause 1.1 (Definitions) and replace with Clause 1.1 (%%%Definitions%%%) so I can find the %%%Definitions%%% and format the word Definitions as needed. I can do the 1.1 if it has not be references as Clause ([0-9]{1,}).([0-9]{1,}) \((*)\) and the replace it with Clause \1.\2 (%%%\3%%%) however if it has already been cross referenced that will not work. I have search trying to find a wildcard that will work with the cross references and have found nothing yet. I do a lot of documents where the clause name either has to be bolded or italicized and I would like to be able to run a find and replace or even a macro to do this for me and my coworkers. Thank you in advance for anyone help. |
#2
|
||||
|
||||
![]()
The problem with what you are trying to do is that cross-references are fields and, if you change the 'Definitions' part of the cross-reference, those changes will be lost immediately anything causes the cross-reference field to update (e.g. a print preview or printing the document). Furthermore, you can't use Find/Replace to add/delete content to the field's result.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert manual cross references in footnotes to other footnotes to automatic cross references | ghumdinger | Word VBA | 7 | 11-20-2014 11:47 PM |
![]() |
estube | Word | 1 | 07-08-2014 03:21 AM |
![]() |
Richard B | Word | 3 | 09-11-2013 07:18 AM |
Formatting Cross-References in Word 2010 | mpdsal | Word | 5 | 12-05-2012 04:16 PM |
Formatting Cross References | TrevorS | Word | 0 | 02-27-2010 08:11 AM |