G
Guest
Hi,
what am I doing wrong here? I need to delete cells D & E if there is an
error in D.
With Sheets("Table")
LrowinD = .Cells(.Rows.Count, "D").End(xlUp).Row
For iCtr = LrowinD To FrowinD Step -1
With .Cells(LrowinD, "D")
If IsError(.Value) Then
.Cells(LrowinD, "D:E").Select
Selection.Delete Shift:=xlUp
End If
End With
Next
End With
Thanks for yor help.
what am I doing wrong here? I need to delete cells D & E if there is an
error in D.
With Sheets("Table")
LrowinD = .Cells(.Rows.Count, "D").End(xlUp).Row
For iCtr = LrowinD To FrowinD Step -1
With .Cells(LrowinD, "D")
If IsError(.Value) Then
.Cells(LrowinD, "D:E").Select
Selection.Delete Shift:=xlUp
End If
End With
Next
End With
Thanks for yor help.