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


Hi Guys

Can anyone tell what the additional code would be to set this aut
filter to a cell reference. So that when the Macro runs it filters th
contents of the Cell A1 for example

Thanks

Selection.AutoFilter


Selection.AutoFilter Field:=1, Criteria1:="a2"

Selection.AutoFilter Field:=19, Criteria1:="a1"

Thank

--
DB10
-----------------------------------------------------------------------
DB100's Profile: http://www.excelforum.com/member.php...nfo&userid=917
View this thread: http://www.excelforum.com/showthread.php?threadid=26814

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Quick question

Selection.AutoFilter Field:=19, Criteria1:=Range("A1").Value

--
Regards

Juan Pablo González

"DB100" wrote in message
...

Hi Guys

Can anyone tell what the additional code would be to set this auto
filter to a cell reference. So that when the Macro runs it filters the
contents of the Cell A1 for example

Thanks

Selection.AutoFilter


Selection.AutoFilter Field:=1, Criteria1:="a2"

Selection.AutoFilter Field:=19, Criteria1:="a1"

Thanks


--
DB100
------------------------------------------------------------------------
DB100's Profile:

http://www.excelforum.com/member.php...fo&userid=9176
View this thread: http://www.excelforum.com/showthread...hreadid=268145



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
Quick Question Dave Excel Discussion (Misc queries) 3 February 18th 09 06:00 PM
Quick Question N.F[_2_] Excel Discussion (Misc queries) 1 July 2nd 07 10:38 PM
quick question riggi Excel Discussion (Misc queries) 4 January 31st 07 06:11 AM
Quick Question Brian Hamilton Excel Worksheet Functions 2 October 27th 06 05:51 PM
Quick little question ben simpson Excel Discussion (Misc queries) 3 April 11th 06 02:35 PM


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