Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-10-2020, 03:04 AM
alex100 alex100 is offline Can't apply shading to multiple sentences Windows 7 64bit Can't apply shading to multiple sentences Office 2016
Advanced Beginner
Can't apply shading to multiple sentences
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't apply shading to multiple sentences Replace or apply new header in multiple files Carchee Word VBA 42 07-10-2024 08:47 AM
Can't apply shading to multiple sentences Macro to select multiple sentences that contain a specific word MauiTruss Word VBA 7 10-03-2018 03:46 PM
Can't apply shading to multiple sentences how to apply a calendar to multiple activities ketanco Project 1 10-15-2014 06:56 AM
Can't apply shading to multiple sentences How to apply formatting(color & shading) to specific letters in whole doc. (arabic) loopseye Word 3 08-05-2013 10:49 PM
Can't apply shading to multiple sentences Apply template to multiple documents Oliver Beirne Word VBA 2 04-24-2012 04:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:38 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