I have a prob regarding Macro of excel 2007.
suppose i have a Excel tab(xyz) which have some column(name, add, Date).
i want to create a macro which will mark total row as RED if the date is today.
look at conditional formatting.
highlight the cells that you wish to be red when the date in the cell in question is todays date.
click on conditional formatting/new rules
select 'use a formula to determine which cells to format'
click on the little spreadsheet icon.
click on the cell with the date that you need to use.
put the following formula in the field after the cell reference - in my case =$C$3
so, the field should look like this =$C$3 = today()
click on the spreadsheet icon again.
click on the format button bottom right.
and select the format you wish to appear in the row/cells when the date is today.
click on ok, then apply.
now, test the results by putting todays date in the cell that will have the trigger date in.