T
TJ
Hi,
I am using the below script but don't how to modify it or if anyone can
suggest anything else to include condition that if the subequent row is the
same then it should skip inserting blank rows where in the colmun the data is
duplicated.
-------------------------------------------------------------------------
Sub test()
Application.ScreenUpdating = False
Dim R As Long
Dim rng As Range
Set rng = ActiveSheet.UsedRange
For R = rng.Rows.Count To 1 Step -1
rng.Rows(R + 1).Resize(1).EntireRow.Insert
Next R
Application.ScreenUpdating = True
End Sub
I am using the below script but don't how to modify it or if anyone can
suggest anything else to include condition that if the subequent row is the
same then it should skip inserting blank rows where in the colmun the data is
duplicated.
-------------------------------------------------------------------------
Sub test()
Application.ScreenUpdating = False
Dim R As Long
Dim rng As Range
Set rng = ActiveSheet.UsedRange
For R = rng.Rows.Count To 1 Step -1
rng.Rows(R + 1).Resize(1).EntireRow.Insert
Next R
Application.ScreenUpdating = True
End Sub