Sub Macro9()
Range("Table57[Weld Done]").Select
Selection.Replace What:="0/1/1900", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=True, FormulaVersion:=xlReplaceFormula2
Range("Table57[[#Headers],[Weld Done]]").Select
End Sub
I use Replace function to replace default date 0/1/1900 with "blank" & it worked. So I recorded the workflow using VBA macro recording function & it gives coding as above.
When I try to use the macro again using the same code, it won't return the "blank". The value remains as default date 0/1/1900 like nothing happened.
All of you can refer below image for reference.
Your assistance is highly appreciated. Thanks.