Sub Insert2Rows2()
Dim LastRow As Long
LastRow = Cells(Rows.Count, "B").End(xlUp).Row
For I = LastRow To 3 Step -1
If Cells(I, "A") <> "" Then
Range(Cells(I, 1), Cells(I + 1, 1)).EntireRow.Insert
Range("B1:E2").Copy Cells(I, "B")
Cells(I + 1, "A").Value = Cells(I + 2, "A").Value & Cells(I + 2, "B").Value
End If
Next I
End Sub
Sub Insert2Rows()
Dim LastRow As Long
For Each wks In ThisWorkbook.Worksheets(Array("Sheet5", "Sheet6"))
With wks
Sheets(wks.Name).Activate
LastRow = Cells(Rows.Count, "B").End(xlUp).Row
For I = LastRow To 3 Step -1
If Cells(I, "A") <> "" Then
Range(Cells(I, 1), Cells(I + 1, 1)).EntireRow.Insert
Range("B1:E2").Copy Cells(I, "B")
Cells(I + 1, "A").Value = Cells(I + 2, "A").Value & Cells(I + 2, "B").Value
End If
Next I
End With
Next wks
End Sub
Sub Insert2Rows()
Dim LastRow As Long, i as Long, j as long
Application.ScreenUpdating = False
For j = 1 to Worksheets.count
With Sheets(j)
LastRow = .Cells(Rows.Count, "B").End(xlUp).Row
LastRow = .Cells(LastRow, "A").End(xlUp).Row
For i = LastRow To 3 Step -1
If .Cells(i, "A") <> "" Then
.Range(Cells(i, 1), Cells(i + 1, 1)).EntireRow.Insert
.Range("B1:E2").Copy Cells(i, "B")
.Cells(i + 1, "A") = .Cells(i + 2, "A") & .Cells(i + 2, "B")
i = .Cells(I, "A").End(xlUp).Row + 1
If i < 3 Then Exit For
End If
Next i
End With
Next j
Application.ScreenUpdating = True
End Sub