Looking for a bit of help.
Below in the code line: .Range("A1").CurrentRegion.AutoFilter field:=12, Criteria1:="In Progress" if I wanted to change it so the criteria it looks for is "In Progress" OR "Sale" , can someone advise on the syntax?
I cannot figure this out. If the field equals "In Progress" or "Sale" then the rest of the code works exactly as I need. It currently only takes "In Progress".
Sub Garage()
Dim rData As Range
Application.ScreenUpdating = False
With Worksheets("CurrentList")
.AutoFilterMode = False
.Range("A1").CurrentRegion.AutoFilter field:=12, Criteria1:="In Progress"
With .AutoFilter.Range
On Error Resume Next
Set rData = .Offset(1).Resize(.Rows.Count - 1).SpecialCells(xlCellTypeVisible)
On Error GoTo 0
If Not rData Is Nothing Then
Intersect(rData, .Range("A:U")).Copy Worksheets("Garages").Range("A" & Rows.Count).End(xlUp)(2)
End If
End With
.AutoFilterMode = False
End With
Application.ScreenUpdating = True
End Sub