sirmacademy
New Member
- Joined
- Aug 12, 2018
- Messages
- 17
Hello, I'm facing this problem of inserting rows in a loop. Your help are highly appreciated.
Sub InsertMultipleRow()
Dim i As Integer
i = 6
Do While i < 100
Sheets("Sheet1").Rows("i:i").Insert Shift:=xlDown
i = i + 6
Loop
End Sub
Sub InsertMultipleRow()
Dim i As Integer
i = 6
Do While i < 100
Sheets("Sheet1").Rows("i:i").Insert Shift:=xlDown
i = i + 6
Loop
End Sub