VoG, I have a macro you supplied in a different thread:
Sub InsRow()
Dim LR As Long, i As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
For i = LR To 2 Step -1
If Range("A" & i).Value <> Range("A" & i - 1).Value Then Rows(i).Insert
Next i
End Sub
However, this is inserting a row ABOVE and BELOW where the value in column 'A' changes. Can you give me the macro to insert 2 rows ABOVE where the value in column 'A' changes? Thanks.
Sub InsRow()
Dim LR As Long, i As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
For i = LR To 2 Step -1
If Range("A" & i).Value <> Range("A" & i - 1).Value Then Rows(i).Insert
Next i
End Sub
However, this is inserting a row ABOVE and BELOW where the value in column 'A' changes. Can you give me the macro to insert 2 rows ABOVE where the value in column 'A' changes? Thanks.