I have a column of dates and times, all formatted as dd/mm/yyyy hh:mm
I am trying to write some code to amend the data when a user enters the time in the format of hh.mm instead of hh:mm
Strangely though, I am finding that running my code causes excel to switch around the dd/mm part of the data...
If I run this on a cell containing 07/05/2021 09.15 then it changes to 05/07/2021 09:15Please Login or Register to view this content.
However, the date format set for the cell remains dd/mm/yyyy hh:mm, plus if I manually use the Find/Replace dialog to make the same replacement it doesn't switch around the dd/mm
Might be something incredibly obvious, but I can't work out why it's happening.
Bookmarks