Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Set wbBookdata = Workbooks.Open(fPath & datafile, False, True)
wbBookData.Activate With wbBookData.sheets(dSheet) .AutofilterMode = False set rng = .Cells(8,27).currentRegion fld = 27 - rng(1).column + 1 rng.Autofilter Field:=fld, Criteria:="=1" rng.Copy thisworkbook.Worksheets( _ strName).Range("A1") .AutofilterMode = False end With thisWorkbook.Activate -- Regards, Tom Ogilvy "DISMfish" wrote: Switched the col/rows. Autofilter is still not working? ActiveWindow.Cells(8, 27).AutoFilter Field:=27, Criteria1:="=1" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HELP: Use the autofilter result on one workbook to filter the next list on another workbook | Excel Worksheet Functions | |||
Autofilter on protected workbook | Excel Discussion (Misc queries) | |||
Can I AutoFilter an entire workbook? | Excel Discussion (Misc queries) | |||
resetting the autofilter for users of a workbook | Excel Programming | |||
Add Autofilter to A1:Z1 on workbook | Excel Programming |