OK, need a hand here. This should be a simple piece of code, I think.
I need a piece of code that will look at the contents of column H, and if it equals "00/00/00", I need it to clear the contents of column M on the same row.
sub RemoveIt
MCol = Range("M:M".Column
For Each c In Range("H1", Cells(Range("H:H".Rows.Count, Range("H:H".Column).End(xlUp).Address)
If c.Value = "00/00/00" Then
Cells(c.Row, MCol).Value = ""
End If
Next c
end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.