Sub Insert2Rows()
Dim c As Long, lrow As Long
With ActiveSheet
lrow = .Cells(.Rows.Count, "A").End(xlUp).Row
For c = lrow - 1 To 1 Step -1
If .Cells(c, 1).Value <> "" Then
If .Cells(c, "A").Value <> .Cells(c + 1, "A").Value Then
.Cells(c + 1, "A").Resize(2).EntireRow.Insert
End If
End If
Next
End With
End Sub
dear friends i have found above macro from net & it's inserting empty rows base on column "A" data change,my data starting in column "A" row 2 to down.i want to insert column "A" data available all rows below two empty rows.pls help me to do that....
Bookmarks