Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to highlight cells that are 5 business days from trade date
Hi,
Ive got a spreadsheet with trades placed with clients and I need a macro that will hightlight the rows that are greater than 5 business days from the trade date. Our service level agreement states that trades must be confirmed within 5 business dates but i need the macro to highlight those trades out of the SLA period. Trade date is in column B but I would like the macro to go through the following tabs, but to skip tabs with no data:- PCD, CWA, APL, DIY, EPIC, and VAN. Anyone with ideas would be appreciated. Thank You -- Message posted via http://www.officekb.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to highlight cells that are 5 business days from tradedate
Jason via OfficeKB.com wrote:
Hi, Ive got a spreadsheet with trades placed with clients and I need a macro that will hightlight the rows that are greater than 5 business days from the trade date. Our service level agreement states that trades must be confirmed within 5 business dates but i need the macro to highlight those trades out of the SLA period. Trade date is in column B but I would like the macro to go through the following tabs, but to skip tabs with no data:- PCD, CWA, APL, DIY, EPIC, and VAN. Anyone with ideas would be appreciated. Thank You Why not use conditional formatting? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to highlight cells that are 5 business days from trade date
If by tabs you mean sheets, then you will need to give the trade dates a
workbook name and test that. The formula would be something like =A2trade_date+5 where A2 is the actual date and trade_date is the name. -- HTH Bob Phillips "Jason via OfficeKB.com" wrote in message ... Hi, Ive got a spreadsheet with trades placed with clients and I need a macro that will hightlight the rows that are greater than 5 business days from the trade date. Our service level agreement states that trades must be confirmed within 5 business dates but i need the macro to highlight those trades out of the SLA period. Trade date is in column B but I would like the macro to go through the following tabs, but to skip tabs with no data:- PCD, CWA, APL, DIY, EPIC, and VAN. Anyone with ideas would be appreciated. Thank You -- Message posted via http://www.officekb.com |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to highlight cells that are 5 business days from trade date
How do I account for weekends and so forth. Is there a function to
calculate business days? -- Message posted via http://www.officekb.com |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to highlight cells that are 5 business days from trade date
=A2WORKDAY(trade_date,5)
-- HTH Bob Phillips "Jason via OfficeKB.com" wrote in message ... How do I account for weekends and so forth. Is there a function to calculate business days? -- Message posted via http://www.officekb.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
business day date from a specific date based on a number of days | Excel Worksheet Functions | |||
Adding business days to a date | Excel Worksheet Functions | |||
business days - trade date plus 3 | Excel Worksheet Functions | |||
business days between 2 date feilds | Excel Worksheet Functions | |||
Adding 4 business days to a specified date | Excel Programming |