LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default vb to Unselect a Filter Value

I have an vb script that I run that formats several simular worksheets. One
of the things that is does is turns on the AutoFilter. I would like to have
it un-select one of the values on one of the columns during this format
process.

Example Data
a b
Row1 Ind Value
Row2 C 100
Row3 B 222
Row4 space 50
Row5 D 25
Row6 E 500

Both columns have the Filter On and I want to Un-Select all the values = "C"
in Column A

I know through recording a macro and looking at the code you can set a value
to a selection, but that only works if your selection is always in the same
position in the list. I do not have this option because some of my sheets
may have 2 options while others may have 20. To complicate things further
Value "C" may not even be in the list at all.

Thanks
 
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
unselect cells tgi Excel Discussion (Misc queries) 1 October 1st 09 03:21 AM
unselect cells tgi Excel Discussion (Misc queries) 2 October 1st 09 01:39 AM
Unselect Cells bobwilson[_12_] Excel Programming 6 April 4th 06 12:02 AM
How to unselect? Kou Vang[_2_] Excel Programming 3 January 26th 06 02:54 PM
Unselect Filtre .... sal21[_12_] Excel Programming 1 February 23rd 04 01:54 PM


All times are GMT +1. The time now is 12:54 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"