I have date values which are shown as "01 01 1970 12:00" for example. Since the date uses spaces and not "-" or "/", excel does not recognize it as a date value.
Using
Range = Replace(Range, " ", "/", 1, 2)
or
Range = Replace(Range, " ", "/")
returns a type mismatch error
Using
Range.Replace what:=" ", replacement:="/", lookat:=xlPart
works, but it also replaces the last space and turns the value to "01/01/1970/12:00" which i do not want. It is supposed to return as a date format.