D
Dolphinv4
Hi,
i tried to write a macro for advanced filter as below but it doesn't work.
Please help.
The main data are in the "Raw" worksheet & the criterias is in the "Bank
List" worksheet.
With Worksheets("Bank List")
Set myrng = .Range("A1:A" & .Cells(.Rows.Count, "A").End(xlUp).Row)
End With
Worksheets("Raw").Cells.AdvancedFilter Action:=xlFilterInPlace,
CriteriaRange:=Sheets("Bank List").Range(myrng), Unique:=False
Thanks.
Dolphin
i tried to write a macro for advanced filter as below but it doesn't work.
Please help.
The main data are in the "Raw" worksheet & the criterias is in the "Bank
List" worksheet.
With Worksheets("Bank List")
Set myrng = .Range("A1:A" & .Cells(.Rows.Count, "A").End(xlUp).Row)
End With
Worksheets("Raw").Cells.AdvancedFilter Action:=xlFilterInPlace,
CriteriaRange:=Sheets("Bank List").Range(myrng), Unique:=False
Thanks.
Dolphin