![]() |
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! |
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! |
All times are GMT +1. The time now is 02:19 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com