link to code seems broke, copy and paste from your prev video Sub InsertRowsAtValueChangeColumnB() Dim X As Long, LastRow As Long Const DataCol As String = "B" Const StartRow = 2 LastRow = Cells(Rows.Count, DataCol).End(xlUp).Row Application.ScreenUpdating = False For X = LastRow To StartRow + 1 Step -1 If Cells(X, DataCol).Value Cells(X - 1, DataCol) Then Rows(X).Insert Next Application.ScreenUpdating = True End Sub
If you mean "can it insert a blank row when the data changes in column B then again when data changes in column C" for example, not with this code. There might be a VBA way to accomplish this, but I'm familiar enough with VBA to know. You can try going to Mr Excel Forum and asking that question.