#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Auto FIlter

Hello All,

I'm trying to learn how to use autofilter, and I don't
have it figure out can someone help please. I'm using the
following code:

worksheets("sheet1").range("a1").autofilter
field:=1
criterial:="otis"

thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Auto FIlter

First do you have a list in column A?
Second does the word Otis appear in that list?

Otherwise the code works well and should give you the drop
down arrow oncoulmn A when the code 'visibledopdown=True'

Best of luck
DavidC
-----Original Message-----
Hello All,

I'm trying to learn how to use autofilter, and I don't
have it figure out can someone help please. I'm using the
following code:

worksheets("sheet1").range("a1").autofilter
field:=1
criterial:="otis"

thanks for any help
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Auto FIlter


Set up the autofilter manually, then when your happy, use the macro recorder
and you'll see the code required.

Cheers
Nigel

"Ramone" wrote in message
...
Hello All,

I'm trying to learn how to use autofilter, and I don't
have it figure out can someone help please. I'm using the
following code:

worksheets("sheet1").range("a1").autofilter
field:=1
criterial:="otis"

thanks for any help



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
Excel auto-filter does not filter certain columns Eric_NY Excel Discussion (Misc queries) 5 November 29th 08 10:13 AM
DataFilterAuto Filter in excel 2007? TIJ New Users to Excel 2 November 13th 08 03:28 AM
Excel 2007 Auto Filter Filter Django Excel Discussion (Misc queries) 2 September 9th 08 10:52 PM
Limit filter options in Auto Filter lista72 Excel Discussion (Misc queries) 1 January 23rd 08 04:01 PM
Excel auto filter doesn't recoginize case - won't filter AA from A Mikey Excel Discussion (Misc queries) 1 September 29th 05 08:18 PM


All times are GMT +1. The time now is 03:13 PM.

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

About Us

"It's about Microsoft Excel"