Thanks for the suggestion Skip,
Your solution works for the MyDate.txt file.
Though when MyDate.txt includes time;
Time
Skip+23:53 1/01/1971
John+0:05 2/01/1971
Then the day and month are still the wrong way round.
I then removed time from my original file (ADCoutputd.txt) and excel loaded...
My problem is Excel2002 changing the dd/mm/yyy format to mm/dd/yyyy when loading a text file.
Given the txt file (format dd/mm/yyy);
Time
1/01/1971 23:53
2/01/1971 0:05
I can’t come up with any VBA code to open the file so it has the correct date values (25934.995, 25935.003).
I’ve tried...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.