@jscopa10 Seguindo seu raciocínio segue um exemplo.
Sub CopiarColar()
Application.ScreenUpdating = False
Dim LR As Integer, i As Integer, x As Integer
LR = [A:A].Find("*", , xlValues, , xlRows, xlPrevious).Row
x = 2
For i = 2 To LR
If Range("AH" & i) = 1 Then
Range("A" & i & ":AG" & i).Copy
Range("AR" & x).PasteSpecial xlPasteValuesAndNumberFormats
Application.CutCopyMode = False
x = x + 1
End If
Next i
Application.ScreenUpdating = True
End Sub
Postado : 04/01/2022 8:25 am