Maybe like this?
BSB![]()
Sub AddRowsBetween() Dim i As Long: i = 1 Dim j As Long Do Until Cells(i, 1) = "" For j = 1 To 10 Cells(i + j, 1).EntireRow.Insert Cells(i + j, 1).Value = j Next j i = i + j Loop End Sub
Maybe like this?
BSB![]()
Sub AddRowsBetween() Dim i As Long: i = 1 Dim j As Long Do Until Cells(i, 1) = "" For j = 1 To 10 Cells(i + j, 1).EntireRow.Insert Cells(i + j, 1).Value = j Next j i = i + j Loop End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks