Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a simple bit of code to take me to another worksheet and automatically select specific information falling under a autofilter. Sample below: Sheets("Sheet2").Select Selection.AutoFilter Field:=1, Criteria1:="RandomText" Range("A1").Select This works great but it would be even better if I could refer to a cell within the spreadsheet. How do I go about changing the criteria to be a cell reference? Since I have multiple sheets, do I need to specify the sheet name that I'm calling the cell reference from? Many, many thanks if you can help with this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofilter - formatting criteria1 data for valid comparison | Excel Programming | |||
can I use a cell content as a Criteria1 reference in the below Selection.AutoFilter statement? | Excel Programming | |||
Another Date related question.... | Excel Worksheet Functions | |||
printing related code question | Excel Programming | |||
I have a VB related question,... | Excel Programming |