Auto Highlight/Find

TKB

Board Regular
Joined
Aug 18, 2011
Messages
128
Hello,

I am working on a Vendor organizational chart. It lists the vendor, location date and time of work to be done. What i need to do is figure out a way to take an entire column, say 'E' for this example. I need to highlight the Cell based on the date until a cell is reached which contains no data or it reaches the end of the sheet. for example (if today is 8/18/11):

8/20/11 would be found and highlighted Green
8/18/11 would be found and highlighted Yellow
8/16/11 would be found and Highlighted Red

The only thing i can think of doing is having the Cell.Select function select each cell until i reach a stopping point, but i would love to take 100's of lines of code and turn it into just a few.

Any ideas?

Thanks for the help!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
use conditional formatting and you can use three conditions of different colors (for versions earlier than 2007)

use add for adding conditions.

see help conditional fomattitng


it will be something llike this

cell value is greater than =today()
and color it as you like (use pattern)
in the third window equal to sigb is necessary

similary equal to =today()

less than =today()
 
Upvote 0

Forum statistics

Threads
1,224,565
Messages
6,179,549
Members
452,927
Latest member
rows and columns

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top