View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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!