I have the code below and is all good if the autofilter find's the data, but is there a way to shop the code if autofilter is blank. In this case if autofilter don't find "Ten"
Sheets("Sheet2").Select
Range("b4").Select
ActiveSheet.Range("$B$4:$AN$50000").AutoFilter Field:=35, Criteria1:="Ten"
Range("b4").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.Copy
Sheets("Eamil-10").Select
Range("a1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Call column
Call Line
Sheets("Sheet2").Select
Range("b4").Select
ActiveSheet.Range("$B$4:$AN$50000").AutoFilter Field:=35, Criteria1:="Ten"
Range("b4").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.Copy
Sheets("Eamil-10").Select
Range("a1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Call column
Call Line