Search : in
By :

Prob Reg. Excel Macro..

Last answer on Nov 14, 2009 9:36:55 pm GMT Joy, on Nov 14, 2009 11:17:16 am GMT 
 Report this message to moderators

Hello,
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.

thanks in advance.
Joy Bhadra

Configuration: Windows XP Internet Explorer 7.0

Best answers for « Prob Reg. Excel Macro.. » in :
Excel – Macro to detect and hide blank rows Show Excel – Macro to detect and hide blank rows Issue Solution Note Issue I want a macro to unhide about 20 blank rows copy values into the top row then hide the remaining rows (some cells have fill though) then the next time it will...
Excel – Macro for copy & paste selected range ShowExcel – Macro for copy & paste selected range Issue Solution Note Issue I have a summary of data by month in one sheet and the raw data in another sheet. Instead of creating multiple worksheets for my raw data for each month, I want...
Avoid duplicates in Excel ShowAvoid duplicates in Excel In order to avoid duplication when encoding in a column from an excel sheet: take the conditional format on the first cell under the headings (eg A2) choose the following formula:...

1

 sharpman, on Nov 14, 2009 9:36:55 pm GMT

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.

hope you can decipher the above :-)
hope it helps

Reply to sharpman