I am trying to look for cell values in column C and insert a blank row just above the cell if it doesn't contain a dot (".").
I tried the following macro:
Sub testing()
Dim col As Variant
Dim lr As Long
Dim i As Long
Dim startRow As Long
col = "C"
startRow = 2
lr = Cells(Rows.Count, col).End(xlUp).Row
With ActiveSheet
For i = lr To startRow Step -1
If IsNumeric(Range("E2", "E" & lr).Value) = True Then
.Cells(i + 1, col).EntireRow.Insert shift:=xlUp
End If
Next i
End With
End Sub
Input
Desired Output