Hi,
One way:
Sub InsertZips()
Dim x As Long, llastrow As Long
llastrow = Range("A" & Rows.Count).End(xlUp).Row + 1
Range("K2:K" & llastrow) = "=IF(B2<>B1,""Insert"","""")"
Range("K:K").Copy: Range("K1").PasteSpecial (xlPasteValues)
Range("K2").EntireRow.Insert
Range("I2") = 90058
For x = llastrow + 1 To 4 Step -1
If Range("K" & x) = "Insert" Then
Range("K" & x & ":K" & x + 1).EntireRow.Insert
Range("I" & x & ":I" & x + 1) = 90058
End If
Next x
Range("I" & Rows.Count).End(xlUp).EntireRow.Delete
End Sub
Bookmarks