View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pops Jackson Pops Jackson is offline
external usenet poster
 
Posts: 64
Default Opening the Autofilter dialog box

I have gotten frustrated with trying to get my code to work autofiltering
date ranges.
The code I am using includes:
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="=firstdate",
Operator:=xlAnd, Criteria2:="<=seconddate"

The result is that the entire range is hidden.

How can I get the default autofilter dialog to show? I have decided this is
the best solution unless the code I am using can be altered successfully.

Thanks,

Jim
--
Pops Jackson