Condtional formatting multiple date ranges using VBA

cplatts85

New Member
Joined
May 22, 2015
Messages
1
Hello everyone

Please be careful with me as I am new to conditional formatting using VBA

I am looking to conditional format a range (basically a grid with a calendar year entered into it) from a list of dates as below but I also want to sub categorise the dates in different colours.

Is this possible? and if so how the hell do I do it?!

Category 1
From To
01-Apr-15 15-Apr-15
05-Jun-15 20-Jun-15
26-Aug-15 08-Sep-15
18-Dec-15 06-Jan-16

Category 2
From To
01-May-15 15-May-15
05-Jul-15 20-Jul-15
26-Sep-15 08-Oct-15
18-Jan-16 06-Feb-16

Category 3
From To
01-Jun-15 04-Jun-15
05-Aug-15 20-Aug-15
26-Oct-15 08-Nov-15
18-Feb-16 06-Mar-16
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,206,762
Messages
6,074,795
Members
446,089
Latest member
Andrew123456789

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