R
ryguy7272
i am trying to identify all blanks in Column C, and for each blank, delete
any value in the same row in Column B. Here is my code:
Dim lr As Long
lr = Sheets("PivotSheet").Cells(Rows.Count, 1).End(xlUp).Row
For Each C In Sheets("PivotSheet").Range("C4:C" & lr)
If C.Value = "" Then
ActiveCell.Offset(, -1) = ""
End If
Next C
What am I doing wrong?
Thanks,
Ryan---
any value in the same row in Column B. Here is my code:
Dim lr As Long
lr = Sheets("PivotSheet").Cells(Rows.Count, 1).End(xlUp).Row
For Each C In Sheets("PivotSheet").Range("C4:C" & lr)
If C.Value = "" Then
ActiveCell.Offset(, -1) = ""
End If
Next C
What am I doing wrong?
Thanks,
Ryan---