Professional Documents
Culture Documents
Codigo Inserir Linha
Codigo Inserir Linha
Dim T1 As Integer
T1 = Plan2.Cells(15, 21).Value
If T1 = 1 Then
Dim Proximo_1 As Integer
Proximo_1 = 25
With Plan2
.Rows(Proximo_1).Copy
.Rows(Proximo_1).Insert shift:=xlShiftDown
Range("V15").Value = Range("V15").Value + 1
Proximo_1 = Range("V15").Value + Proximo_1
End With
Application.CutCopyMode = False
End If