![]() |
|
#1
|
|||
|
|||
|
I have a number of Word documents that contain snippets of code that have "syntax highlighting" However, the syntax highlighter missed one of the keywords. I would like to write a macro to fix this.
I need to search through a document and find all instances of the word 'in' that are in Courier New font, and change their color to a custom color: RGB (255, 119, 0). It seems this should be simple for the VBA experts on this forum, but in trying it myself (as a complete newbie to VBA) , I have found navigating around the document to be rather confusing. If anyone here can point me in the right direction, it would be greatly appreciated. HWG |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Deleting A blank Line that has a specific heading style , word 2010 & 2013
|
SteveWcg | Word | 5 | 01-08-2014 10:37 PM |
| Can't change color of text in table style | ABode | Word | 6 | 12-03-2013 07:45 AM |
| Find and replace multiple documents change style | BaPW | Word | 0 | 08-14-2011 11:12 AM |
| How to find a specific word in Powerpoint? | Ozard80 | PowerPoint | 0 | 05-11-2011 04:42 PM |
| Highlight text and find next instance | DrDOS | Word | 0 | 11-15-2010 04:02 PM |