So in column B I have a date in the format of dd.mm.yyyy
when doing it manually I highlight the column and find and replace . with /
this works fine, however when putting that into a macro I record the macro and run it back to confirm its working and for some reason instead of changing 01.07.2015 to 01/07/2015 its changing the date to 07/01/2015
any suggestions on a quick fix for it?
heres the segment of vba for that part of the code:
Columns("B:B").Select
Selection.Replace What:=".", Replacement:="/", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Thanks
when doing it manually I highlight the column and find and replace . with /
this works fine, however when putting that into a macro I record the macro and run it back to confirm its working and for some reason instead of changing 01.07.2015 to 01/07/2015 its changing the date to 07/01/2015
any suggestions on a quick fix for it?
heres the segment of vba for that part of the code:
Columns("B:B").Select
Selection.Replace What:=".", Replacement:="/", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Thanks