Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
macro for displaying conditional formatting
I have an excel spreadsheet that contains a column with conditional
formatting to highlight overdue dates. I would like to create a macro to display only the highlighted overdue dates but can't seem to figure out a formula that will work. The conditional format is =AND(ISBLANK(N12),L12<TODAY(), NOT(ISBLANK(L12))) I thought this formula might work, but it didn't Selection.AutoFilter Field:=12, Criteria1:="=AND(ISBLANK(N12),L12<TODAY(), NOT(ISBLANK(L12)))" Any help would be appreciated! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
macro for displaying conditional formatting
Perhaps just autofilter for TRUE on a helper col to the right containing
exactly the same CF formula (in a corresponding cell, copied down) would suffice? =AND(ISBLANK(N12),L12<TODAY(), NOT(ISBLANK(L12))) -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "FA" wrote: I have an excel spreadsheet that contains a column with conditional formatting to highlight overdue dates. I would like to create a macro to display only the highlighted overdue dates but can't seem to figure out a formula that will work. The conditional format is =AND(ISBLANK(N12),L12<TODAY(), NOT(ISBLANK(L12))) I thought this formula might work, but it didn't Selection.AutoFilter Field:=12, Criteria1:="=AND(ISBLANK(N12),L12<TODAY(), NOT(ISBLANK(L12)))" Any help would be appreciated! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Formatting Macro | Excel Discussion (Misc queries) | |||
Macro Conditional Formatting | Excel Worksheet Functions | |||
Conditional Formatting in a Macro | Excel Discussion (Misc queries) | |||
Conditional Formatting in Macro | Excel Discussion (Misc queries) | |||
Macro/conditional formatting | Excel Discussion (Misc queries) |