ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   dates automatically formatted wrong (https://www.excelbanter.com/excel-discussion-misc-queries/106272-dates-automatically-formatted-wrong.html)

bigajosepi

dates automatically formatted wrong
 

Hi. I'm copying dates and other data from a text file which has them
formatted like:
YYYY-MM-DD
and excel reformats them as soon as i copy them into a format like:
dd/mm/yyyy

taking away zeros where they are not needed. is there any way for me to
copy and paste the dates and keep them looking exactly the same.
thanks!


--
bigajosepi
------------------------------------------------------------------------
bigajosepi's Profile: http://www.excelforum.com/member.php...o&userid=37838
View this thread: http://www.excelforum.com/showthread...hreadid=573940


bigajosepi

dates automatically formatted wrong
 

got it. gotta use open to open a text file


--
bigajosepi
------------------------------------------------------------------------
bigajosepi's Profile: http://www.excelforum.com/member.php...o&userid=37838
View this thread: http://www.excelforum.com/showthread...hreadid=573940



All times are GMT +1. The time now is 06:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com