Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've inquired about this before, but it still isn't working. I'm trying
to get XL to determine which cells are to be filtered by using the CurrentRegion method (or whatever it is). The filter range varies from datasheet to datasheet. I've declared FilterRange as a range, but can't get XL to set it equal to the current region from cell A1. Any ideas how to do this? RecSht.Select Range("a1").Select Set FilterRange = Selection.CurrentRegion.Select<-----Object required error CtyExtr.Select RecSht.Range("FilterRange").AdvancedFilter Action:= _ xlFilterCopy, CriteriaRange:=RecSht.Range("aa1:aa2"), _ CopyToRange:=Range("A5"), Unique:=False Thanks again! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 Label Options - Forms Object vs Control Box Object | Excel Discussion (Misc queries) | |||
Confusion about how the Window object fits into the Excel object model | Excel Programming | |||
returning pivottable object from a range object | Excel Programming | |||
How to Add an Object to the New Object List in windows 2000 | Excel Programming | |||
Range object to Array object conversion | Excel Programming |