I just want to insert a new line in each row of a column (beginning with the third row below the header). But instead, the macro adds n-new columns in the third row, n being the number of rows in the column. I have another macro with the same loop to insert a hyperlink in each cell, which works absolute fine, now I am drawing a blank...
What could be the reason?
Sub InsertRows()
Dim i As Integer
Dim lRow As Integer
lRow = Cells(Rows.Count, 3).End(xlUp).Row
i = 3
Do
Range("C" & i).Select
ActiveCell.EntireRow.Insert
i = i + 1
Loop Until i > lRow
End Sub