Hello,
I posted this in the wrong forum (General Excel Discussion & Other Questions)
I need to insert a row every 19th row after A2
I tried using this code:
But it didn't work.
Can someone guide me on how to get it to work, or a better solution?
Thanks,
Xrull
I posted this in the wrong forum (General Excel Discussion & Other Questions)
I need to insert a row every 19th row after A2
I tried using this code:
Code:
Sub addblankrowevery19()
For i = Cells(Rows.Count, "a").End(xlUp).Row To 20 Step -19
Rows(i).Insert
Next i
End Sub
Can someone guide me on how to get it to work, or a better solution?
Thanks,
Xrull