Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-08-2017, 07:39 AM
welcometocandyland welcometocandyland is offline VBA Code to search for field codes with certain text before the Field code  and to change style Windows 7 64bit VBA Code to search for field codes with certain text before the Field code  and to change style Office 2013
Novice
VBA Code to search for field codes with certain text before the Field code  and to change style
 
Join Date: Feb 2017
Posts: 2
welcometocandyland is on a distinguished road
Default

Thank you for your help. I do need a macro. I'm sorry I wasn't clear, that is the code I am looking for. I want to search the entire document for any occurrences of the word section followed by a field code. I then want to change the style of the field code only by incorporating the style change to the first character (R) and add the *\Charformat to the end of the field. Then proceed to the next occurrence. I don't want it to change the style of the word section or find the word section that isn't followed by a field code.


Can you please help?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code to search for field codes with certain text before the Field code  and to change style VBA Code to Insert Legacy Text Field PSSMargaret Word VBA 17 06-15-2016 04:22 AM
VBA Code to search for field codes with certain text before the Field code  and to change style Variable text field code based on occurrences on each page Cosmo Word 2 12-29-2015 11:54 AM
Macro to select an { includepicture } field code and format the picture behind text and 100% scale sanpedro Word VBA 3 03-30-2015 10:50 PM
need an arbitrary field code ajetrumpet Word 1 07-15-2013 04:58 PM
field code question bordercollie10 Mail Merge 3 10-15-2009 07:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:54 PM.


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