Klash Ville
Board Regular
- Joined
- Sep 19, 2017
- Messages
- 83
Hello everyone, I have an issue during the autofulfillment of a table, with the following code that triggers an infinite loading time, it reaches 100% and then loops again to 0%, it's really frustating. The columns only has about 2000 rows?
Code:
With ActiveSheet.ListObjects("Table2")
.Range.AutoFilter Field:=.ListColumns("Found").Index, Criteria1:="<>Unknown", Operator:=xlAnd, Criteria2:="<>#N/A"
End With
Range("Table2[[#Headers],[Held Missing]]").Select
ActiveCell.Offset(1, 0).Activate
Do While ActiveCell.EntireRow.Hidden = True
ActiveCell.Offset(1, 0).Activate
Loop
ActiveCell.FormulaR1C1 = "Held"
Selection.Copy
Range("Table2[Held Missing]").Select
ActiveSheet.Paste
With ActiveSheet.ListObjects("Table2")
.Range.AutoFilter Field:=.ListColumns("Found").Index
End With