The example will obviously need modifying for your use. To filter on Column E change
to![]()
rData.AutoFilter Field:=1, Criteria1:=sNm
If you ant to use the ActiveSheet then simply change this![]()
rData.AutoFilter Field:=5, Criteria1:=sNm
to![]()
Set ws = Worksheets("TOTAL")
![]()
Set ws = ActiveSheet
Bookmarks