Custom AutoFilter in VBA 
Author Message
 Custom AutoFilter in VBA

Can anyone help me out with this.  I was wondering if
there is a way to turn on the autofilter and do a custom
filter on a column using VBA.  I ran a macro to see if it
would follow but the macro automatically stops when I
click custome (after pulling down the filter).  Any help
would be greatly appreciated.

Thank



Mon, 07 Nov 2005 01:42:38 GMT  
 Custom AutoFilter in VBA

Quote:

> Can anyone help me out with this.  I was wondering if
> there is a way to turn on the autofilter and do a custom
> filter on a column using VBA.  I ran a macro to see if it
> would follow but the macro automatically stops when I
> click custome (after pulling down the filter).  Any help
> would be greatly appreciated.

> Thank

Forget about autofilter and simply record a macro of you creating a regular
filter with the criteria you want.
It will give you the same filtering results.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP

+++++++++++++++++++



Mon, 07 Nov 2005 02:41:42 GMT  
 Custom AutoFilter in VBA
Thank you sir that work perfectly...should have thought of
that but thanks!

Quote:
>-----Original Message-----

>> Can anyone help me out with this.  I was wondering if
>> there is a way to turn on the autofilter and do a custom
>> filter on a column using VBA.  I ran a macro to see if
it
>> would follow but the macro automatically stops when I
>> click custome (after pulling down the filter).  Any help
>> would be greatly appreciated.

>> Thank

>Forget about autofilter and simply record a macro of you
creating a regular
>filter with the criteria you want.
>It will give you the same filtering results.

>--
>Please try to keep replies in this group. I do check e-
mail, but only
>infrequently. For Macros and other things check

http://masamiki.com/project

- Show quoted text -

Quote:

>-Jack Dahlgren, Project MVP

>+++++++++++++++++++

>.



Mon, 07 Nov 2005 03:44:28 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Calling the Custom Autofilter from within VB

2. Determining Available Criteria in VBA Code for AutoFilter

3. VBA for Excel; Getting ranges from AutoFilter

4. VBA - Excel Autofilters

5. Need Help: Trouble adding a custom menu pick to a custom popup menu in VBA

6. AutoFilter

7. AutoFilter in Excel XP is acting strange.

8. AutoFilter

9. AutoFilter and range selecting

10. Excel97/Autofilter

11. Applying Excel Autofilter when opening Excel Files

12. Autofilters problem

 

 
Powered by phpBB® Forum Software