Hi
For certain reasons I want to make this in VBA and not conditional formatting in excel.
I have a table of data where I want to color certain cells (a range) based on a value.
Fx
I want to color cell E4, F4, G4, H4, I4 and J4 based on the value in K4.
The value in K4 can be would be a due date so coloring could be something like gradual from green to red depending on how many days are left, or perhaps 1days left, 3days left, 7days,14 days left and +14days left.
And in the same row I also want to color in possibly a different color the
cell N4, O4 and P4 based on the value in P4.
The value in P4 can be open, closed, done, on hold.
I have searched but not found something where I can specify a specific range to color but only singe cells.
And since im new to VBA I have not managed to create something myself.
Hope someone can help
For certain reasons I want to make this in VBA and not conditional formatting in excel.
I have a table of data where I want to color certain cells (a range) based on a value.
Fx
I want to color cell E4, F4, G4, H4, I4 and J4 based on the value in K4.
The value in K4 can be would be a due date so coloring could be something like gradual from green to red depending on how many days are left, or perhaps 1days left, 3days left, 7days,14 days left and +14days left.
And in the same row I also want to color in possibly a different color the
cell N4, O4 and P4 based on the value in P4.
The value in P4 can be open, closed, done, on hold.
I have searched but not found something where I can specify a specific range to color but only singe cells.
And since im new to VBA I have not managed to create something myself.
Hope someone can help