Hey there,
Apologies, this seems very stupid. I am fully aware of the issue with the American date when using VBA find and replace function. I have read about it and took onboard that others suggested, but it still doesn't work for me.
I might be doing something very silly here, but any chance someone could have a quick check of my simple code please.
Thank you,
Lars
Apologies, this seems very stupid. I am fully aware of the issue with the American date when using VBA find and replace function. I have read about it and took onboard that others suggested, but it still doesn't work for me.
I might be doing something very silly here, but any chance someone could have a quick check of my simple code please.
Thank you,
Lars
Code:
Sub FormatDate()
'
' FormatDate Macro
'
Columns("A:A").Select
Selection.NumberFormat = "dd/mm/yyyy;@"
Selection.Replace What:=".", Replacement:="/", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub