Hi,
I have the requirement of comparing 2 columns and highlighting 3rd column with the appropriate colour. I am using MS Excel 2003 version
E.g
Data set
A1 - '01-Nov-2009'
B1 - '10-Nov-2009'
Action required
Compare A1 & B1. If A1 is less than B1, set "Green colour" background in C1 column.
Should be easy with conditional formatting. But I have to do it for various rows in a single sheet and repeat this with multiple sheets. So, am thinking it's ideal way to write a macro to perform this operation row by row in all sheets. If it's feasible, I can assign that macro to a simple button and make the work easier instead of setting conditional formatting in all the sheets.
I have the requirement of comparing 2 columns and highlighting 3rd column with the appropriate colour. I am using MS Excel 2003 version
E.g
Data set
A1 - '01-Nov-2009'
B1 - '10-Nov-2009'
Action required
Compare A1 & B1. If A1 is less than B1, set "Green colour" background in C1 column.
Should be easy with conditional formatting. But I have to do it for various rows in a single sheet and repeat this with multiple sheets. So, am thinking it's ideal way to write a macro to perform this operation row by row in all sheets. If it's feasible, I can assign that macro to a simple button and make the work easier instead of setting conditional formatting in all the sheets.