You are on page 1of 1

Sub AdicionarLinhas()

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

You might also like