#1
|
|||
|
|||
Macro to highlight and bolden specific text in Word Comments
I would like to get a Macro to find specific text both in the body of a Word document and in the comments and highlight them in yellow and also make them bold. For example, I regularly use the phrase "Internal comment:". I need this highlighted to make it clear it is not for external use. The macros I have tried so far successfully change the text in the word document but do not do anything to the comments. |
#2
|
||||
|
||||
You need to wrap your working code inside a loop that processes each 'StoryRange' in the document. There are plenty of examples on this forum and you can do a wider search if this post doesn't help.
https://www.msofficeforums.com/word-...fic-color.html
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
Tags |
macro edit |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Highlight numbers after a specific word in numbered list | liblikas90 | Word VBA | 3 | 02-27-2019 03:52 AM |
VBA word macro to highlight a selected text just like a spell checker | Pankaj | Word VBA | 1 | 10-14-2016 03:48 AM |
Macro for word to add page break and specific text to end of document | pizzaman1 | Word VBA | 6 | 11-14-2014 11:25 PM |
Macro to insert multiple pictures to word to a specific size and text wrap | mescaL | Word VBA | 3 | 11-03-2014 10:51 PM |
Macro to highlight text between 2 points in word 2010 | jsilva1950 | Word VBA | 2 | 04-25-2013 12:21 AM |