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: 397
Default Active Cell to be used as filter...

Hi guys, think its a tough one...

I need to run a macro that filters data based on the contents of the
active cell.

Eg within my "info" sheet, I have:
a1 = cat
b1 = dog
c1 = Mouse

In another sheet (master) there are columns, one of which is "type of
animal"

If user is on cell a1 in the "info" sheet and activates the macro, I
need the Macro to filter the column "type of animal" in the "master"
sheet. (I also need to apply a second filter to another column in the
master sheet, but that is not dependent on the users choice so I have
been able to do using .AutoFilter Field:=13, Criteria1:="Y")

Appreciate any thoughts,suggestions and solutions for this novice VBA
user!!! :)

Thanks

Regards

D



*** Sent via Developersdex http://www.developersdex.com ***
 
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
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
Hide Raws even the Auto Filter is active Saji Excel Worksheet Functions 3 January 11th 10 10:42 AM
Open excel with a filter active an a certain value Elly Driesen-Schepens Excel Discussion (Misc queries) 1 April 5th 07 05:24 PM
Active Cell in Auto Filter Michael Link Excel Discussion (Misc queries) 1 August 1st 06 04:27 PM
Filter range of only active cells??? malik641 Excel Worksheet Functions 3 June 17th 05 06:54 PM


All times are GMT +1. The time now is 12:29 PM.

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"