Hi,
Is there a faster way to perform the following task instead of looping. I've got anywhere from 10,000 to 50,000 unique records.
Thank you in adbvence.
Is there a faster way to perform the following task instead of looping. I've got anywhere from 10,000 to 50,000 unique records.
HTML:
Sub InsertBlankAtChange()
Dim LastRow As Long
Dim i As Long
LastRow = Cells(Cells.Rows.Count, "G").End(xlUp).Row
For i = LastRow To 2 Step -1
If Cells(i, "G").Value <> Cells(i - 1, "G").Value Then Rows(i).Insert
Next i
End Sub
Thank you in adbvence.