i have this code that will filter a row on my table named "Table5" i want to stop the code if the Field 2 has no data, is that possible? thanks!
Sub Save_Detergent() Dim wbk As Workbook
Dim Fname As String
Dim pth As String
Dim Addr As String
pth = "C:\Users"
Fname = "Detergent.xlsm"
ActiveSheet.ListObjects("Table5").Range.AutoFilter Field:=2, Criteria1:= _
">0"
Range("Table5[[Name]:[QTY]]").Copy