P
ppeer
When I let go:
Selection.Replace " ", Replacement:="-", Lookat:=xlPart, _
SearchOrder:=xlByColumns,
MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
" " is entered by means of an array:
Words = Array(" ", "+", "/", "---", "--", "&")
on a cell containing: 5 a
I would expect to get: 5-a as a result.
Unfortunately, it produces 5:00:00-AM. How can I solve this tiny but
frustrating problem?
best regards
Peter
Selection.Replace " ", Replacement:="-", Lookat:=xlPart, _
SearchOrder:=xlByColumns,
MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
" " is entered by means of an array:
Words = Array(" ", "+", "/", "---", "--", "&")
on a cell containing: 5 a
I would expect to get: 5-a as a result.
Unfortunately, it produces 5:00:00-AM. How can I solve this tiny but
frustrating problem?
best regards
Peter