VBA select date and the apply conditional format

excel2learn

New Member
Joined
Sep 20, 2011
Messages
2
Hi I am new here and am only a basic excel user. I was wondering if anyone could help me with the following:

I have a column of dates. I would like to have todays date back ground colour high lighted, and then tomorrows date back ground colour changed tomorrow.

if this makes sense:

If B3:B1000 = Now then change colour to green.

Thanks in advance
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Welcome aboard..
What you need to do is highlight the specified Range you want to apply Conditional Formatting then goto Format>Conditional Formatting>CellValueIs select equal to then in the inputbox type in =Today() or =Now() then click on Format button to choose color highlight from Pattern Pallete.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,877
Members
452,949
Latest member
Dupuhini

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