Hello,
Using excel 2010, I am trying to use a macro to run an advanced filter. However there are close to 39 000 rows and the entire macro takes about a minute to run. Is there any way to speed this up please?
Also, when I press escape while the macro is still running I receive a "advanced filter method of Range class failed" error, which is odd because the correct result still appears given enough time. Sorry I am still very new to VBA.
PHP Code:
Sub Advanced_Filter()
Application.ScreenUpdating = False
Sheet3.Range("Table_Query[#All]").AdvancedFilter Action:= _
xlFilterCopy, CriteriaRange:=Range("A2:AC3"), CopyToRange:=Range("A8:AC8") _
, Unique:=False
Application.ScreenUpdating = True
End Sub
Bookmarks