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

Hi guys

Using AutoFilter on a range, for a particular column, there are 2 or
more possible values. I wish to always filter by the second value.
How do I do this in code?

Thanks in advance

Paul Martin
Melbourne, Australia
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Autofilter Criteria

Not understanding Paul.

I would think that you just filter by that value, but as that is too
obvious, I guess there is more to your question. Where does this 'second
value' come from?

--
__________________________________
HTH

Bob

"Paul Martin" wrote in message
...
Hi guys

Using AutoFilter on a range, for a particular column, there are 2 or
more possible values. I wish to always filter by the second value.
How do I do this in code?

Thanks in advance

Paul Martin
Melbourne, Australia



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Autofilter Criteria

Bob

I mean that for a given column/filter, the dropdown list includes generally
2 (but sometimes more) values. Whatever the 2nd value is in the dropdown,
that's what I'm after. The Excel Object Model doesn't seem to make the items
in this list available to the same degree as other objects and I'm trying to
find another way around this.

Paul


--
Paul Martin
Melbourne, Australia


"Bob Phillips" wrote:

Not understanding Paul.

I would think that you just filter by that value, but as that is too
obvious, I guess there is more to your question. Where does this 'second
value' come from?

--
__________________________________
HTH

Bob

"Paul Martin" wrote in message
...
Hi guys

Using AutoFilter on a range, for a particular column, there are 2 or
more possible values. I wish to always filter by the second value.
How do I do this in code?

Thanks in advance

Paul Martin
Melbourne, Australia




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 criteria Knox Excel Programming 3 April 6th 07 01:21 PM
Selection.AutoFilter Field / Criteria = criteria sometimes non-existing on worksheet markx Excel Programming 1 November 24th 06 02:52 PM
Autofilter criteria not yet known JeffMelton Excel Programming 1 July 25th 06 08:12 AM
AutoFilter Criteria VBA EstherJ Excel Programming 2 August 20th 04 12:54 PM
VBA Autofilter Criteria Brandon[_5_] Excel Programming 1 November 7th 03 12:40 PM


All times are GMT +1. The time now is 02:19 AM.

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"