View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
FA FA is offline
external usenet poster
 
Posts: 18
Default 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!