Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-10-2017, 08:49 AM
Ulodesk Ulodesk is offline Macro for removing cross-reference fields with specific contents Windows 7 64bit Macro for removing cross-reference fields with specific contents Office 2013
Word 2013 Expert Cert
Macro for removing cross-reference fields with specific contents
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Macro for removing cross-reference fields with specific contents

In proposals at my job, we cross-reference captions in the text callouts. Captions use the label "Figure" and then auto-numbering, both picked up by the cross-references. However, when the cross-reference word "figure" does not begin a sentence, as in

As shown in figure 3, ...

our style is to use the lower-case f. When updating the document (or printing, despite unchecking the relevant links options), the lower case changes back to upper case.
My goal is to be able, when the document is final, to remove the links from the cross-references to the captions, so that I can search/replace for the one's that don't start sentences, replacing the F in Figure with f. (It's unusual to have more than 50 such, and this takes me just a few minutes.)
Since using Ctrl+A and Ctrl+Shift+F9 also removes the caption and any other hyperlinks in what can sometimes be a very lengthy document, this is not a solution. I'd like to have a macro that can remove only the cross-reference fields for captions. Perhaps it could target caption cross-references; perhaps just the word cross-referenced word Figure.


I suspect it could be a fairly simple macro. Help greatly appreciated, as always.
Reply With Quote
 

Tags
cross-reference, macro, unlink



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for removing cross-reference fields with specific contents Cross Reference REF fields Unlink mktate Word VBA 7 06-24-2016 05:55 AM
Cross reference is bad. Leffken Word 1 06-09-2016 03:12 PM
Macro for removing cross-reference fields with specific contents Totaling specific configuration selections that cross reference multiple fields (tricky) lonniepoet Excel Programming 1 06-09-2016 09:54 AM
Macro for removing cross-reference fields with specific contents Reference number and cross reference for equation numbers to match the thesis format wmac Word 1 05-14-2013 08:54 PM
manipulating cross-reference fields _wim_ Word 0 12-10-2010 05:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft