View Single Post
 
Old 06-10-2020, 03:04 AM
alex100 alex100 is offline Windows 7 64bit Office 2016
Advanced Beginner
 
Join Date: May 2020
Posts: 79
alex100 is on a distinguished road
Default

Quote:
whatever sub-string was originally shaded red remains shaded red when blue shading is applied to the whole;
Yes, this is exactly what I was describing in my message!

So my question is this... what's the best way to apply a new shading color to the whole selection?

I was thinking of something like this:

1) select all the paragraphs you need to shade;
2) apply the new shading to the whole;
3) loop through each word inside the selection;
4) check which word has a different shading than the one you just applied at step 2, and then reapply the shading to that specific word.

What do you think? Is there a faster, more elegant way to do it?

Alex
Reply With Quote