LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Richard
 
Posts: n/a
Default AutoFilter - non adjacent columns

Jim,
I am trying to do the same thing and when I use this code you provided I get
a Run-time error '1004' Application-defined or object-defined error. Can you
tell me what I'm doing wrong?

Thanks, Richard

"Jim Rech" wrote:

You can have only one autofilter at a time in a worksheet. You can make some
of the dropdowns disappear though, which may be what you want, but only by a
macro as far as I know. This assumes the autofilter is already in place:

ActiveSheet.AutoFilter.Range.AutoFilter field:=3, visibledropdown:=False

--
Jim Rech
Excel MVP
"wladdr" wrote in message
...
| How do I put AutoFilter on just a couple of non adjacent columns in a
| worksheet. I know I've seen this, and maybe have done it before, but now I
| get a "...cannot be performed with multiple selections..." error. Thank
you.



 
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
Columns FemIce Excel Discussion (Misc queries) 1 September 28th 05 09:29 AM
compare contents of two adjacent columns Adam Excel Worksheet Functions 6 August 8th 05 09:06 PM
Copying multiple columns not adjacent Doug Wilson Excel Discussion (Misc queries) 2 July 8th 05 08:51 PM
combining adjacent columns rooniwife Excel Discussion (Misc queries) 3 July 6th 05 02:18 AM
Possible to apply Autofilter to a subset of available columns? Paul Moore Excel Discussion (Misc queries) 2 June 1st 05 10:23 PM


All times are GMT +1. The time now is 10:38 AM.

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"