Public Sub copyVisibleCols()
Dim shtTest1, shtTestAs Worksheet
Set shtTest1 = Sheets("Test1")
Set shtTest= Sheets("Test")
With shtTest
Intersect(.UsedRange, Application.Union(.Range("A8:H" & Rows.Count), .Range("N8:S" & Rows.Count))).ClearContents
End With
With shtTest
If .FilterMode Then .ShowAllData
With .Range("A5").CurrentRegion
.AutoFilter Field:=1, Criteria1:="Provisioned"
On Error Resume Next
.Offset(1, 1).Resize(.Rows.Count - 1, 1).Resize(, 3).SpecialCells(xlCellTypeVisible).Copy
shtTest1.Range("A8").PasteSpecial xlPasteValues
.Offset(1, 5).Resize(.Rows.Count - 1, 1).Resize(, 1).SpecialCells(xlCellTypeVisible).Copy
shtTest1.Range("D8").PasteSpecial xlPasteValues
.Offset(1, 12).Resize(.Rows.Count - 1, 1).Resize(, 1).SpecialCells(xlCellTypeVisible).Copy
shtTest1.Range("E8").PasteSpecial xlPasteValues
End With
If .FilterMode Then .ShowAllData
End With
End Sub