Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Autofilter Question

Greetings,
I have a 17 column data area with autofilter on columns 14 & 15. I want to
make it easy for the novice user to do a custom filter on col 15 with the
following recorded code form a macro button:
Selection.AutoFilter Field:=2, Criteria1:="=04/01/2006", Operator:=xlAnd
This works but I suspect it needs tidying up?
Also, how can I code to ensure that the user is always initially looking at
the top of the filtered list (Ctrl + home would do it from the keyboard)
rather than being scrolled part way down?
Many Thanks
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoFilter Question AccessHelp Excel Discussion (Misc queries) 2 September 29th 06 09:25 PM
Autofilter question JeffMelton Excel Programming 3 April 14th 06 12:51 PM
AUTOFILTER QUESTION Dan Excel Programming 1 March 2nd 05 04:36 PM
Question about Autofilter... Richard Latter New Users to Excel 3 February 28th 05 04:41 PM
AutoFilter Question Michael Kintner[_3_] Excel Programming 2 January 6th 04 04:06 AM


All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"