Hi Rustam,
Thanks for your solution. But in this case I can't use a function.
I'm collecting many documents based on a template from my colleagues with the data in the wrong format. I may not change the template with the required format. So I'm looking for a macro to change the 4 cells to the required format.
Kind regards
Al
LASTROW = Cells(Rows.Count, 1).End(xlUp).Row
Range("D2:D" & LASTROW).Replace What:=".", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Range("D2:D" & LASTROW).Replace What:=" ", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False