![]() |
|
#3
|
|||
|
|||
|
Very nice, thank you! I have two questions, please...
1. how can I use RGB colors for highlighting? I tried using "Options.DefaultHighlightColorIndex = RGB(190, 190, 190)" but without any success; 2. how can I add an extra condition to the find function so that it will only find (and highlight) those keywords that have not already been highlighted? I tried using ".Font.HighlightColorIndex = wdNoHighlight", but once again, without any results. I am trying to avoid double-highlighting, as for example when I want to highlight keyword "great music" in green and keyword "music" in red. Without a stop in place, you would get "great" highlighted in green, and "music" in red. I'd like both words ("great music") to be shown in green, as a single keyword. Alex |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I am trying to delete text of any format between two bold, recurring keywords or symbols | qubie | Word VBA | 8 | 03-04-2020 03:20 PM |
how do I make pasted text the same size as the text it's being pasted into?
|
David Lee | Word | 6 | 08-16-2015 10:46 AM |
Help with finding multiple keywords in a single document then highlight
|
navyguy | Word | 2 | 01-03-2014 12:48 PM |
| Trying to highlight pasted text in a macro | goldengate | Word VBA | 0 | 09-14-2010 09:41 PM |
| find - reading highlight - highlight all / highlight doesn't stick when saved | bobk544 | Word | 3 | 04-15-2009 03:31 PM |