maybe its just me? anyhoo, i have a routine which opens another workbook, moves the data around and adds an autofilter. It should then copy the autofiltered range back to my source workbook.
I get "Run-time error 438: Object doesn't support this property or method" on the Sourcewb.MainWS... line
what is the correct syntax please?
Code:
With ESMwb.ActiveSheet.AutoFilter.Range
.Offset(1, 0).Resize(.Rows.Count - 1).Copy
Sourcewb.MainWS.Range("A" & LastRow + 1).PasteSpecial
End With
I get "Run-time error 438: Object doesn't support this property or method" on the Sourcewb.MainWS... line
what is the correct syntax please?