I want to add n
rows starting from A4 cell.
My A3 row is blue, so adding rows below it will add all blue rows.
This is my code:
Range("A4:A4").Select
Dim lRow As Long
For lRow = 4 To 14
Cell.EntireRow.Interior.ColorIndex = xlNone
Selection.EntireRow.Insert , CopyOrigin:=xlFormatFromLeftOrAbove
Next lRow
I got an error saying:
"Object required"