Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Grd Grd is offline
external usenet poster
 
Posts: 118
Default Reading from CSV date format

Hi there,

When I read from my CSV file the date column is in DD MM YY - its a string
in the CSV file (with quotes). However when it comes into excel is MM DD YY.

How do I stop this conversion from happening automatically.

Any help greatly apprecaited

Thanks

Suzanne
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Reading from CSV date format

there arre two solutions.

1) Make the cells in excel text before importing the CSV
2) Importing CSV allow you to select cell formats.
In Import menu - select file
a) first window use default delimited
b) second window uncheck tab and select comma
c) third window allos you to select formating.

"Grd" wrote:

Hi there,

When I read from my CSV file the date column is in DD MM YY - its a string
in the CSV file (with quotes). However when it comes into excel is MM DD YY.

How do I stop this conversion from happening automatically.

Any help greatly apprecaited

Thanks

Suzanne

  #3   Report Post  
Posted to microsoft.public.excel.programming
Grd Grd is offline
external usenet poster
 
Posts: 118
Default Reading from CSV date format

Thanks
I'll try those out

"Joel" wrote:

there arre two solutions.

1) Make the cells in excel text before importing the CSV
2) Importing CSV allow you to select cell formats.
In Import menu - select file
a) first window use default delimited
b) second window uncheck tab and select comma
c) third window allos you to select formating.

"Grd" wrote:

Hi there,

When I read from my CSV file the date column is in DD MM YY - its a string
in the CSV file (with quotes). However when it comes into excel is MM DD YY.

How do I stop this conversion from happening automatically.

Any help greatly apprecaited

Thanks

Suzanne

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula not reading date format ziak Excel Discussion (Misc queries) 3 May 20th 10 09:41 PM
Cell format on reading .csv file sdawson Excel Discussion (Misc queries) 3 July 20th 09 06:09 PM
Copnvert dates reading as Text to a date format Margy Excel Discussion (Misc queries) 5 February 9th 09 06:53 PM
Reading Wordpad - Rich Text Format Braindeadbeachbum Excel Programming 2 May 22nd 06 01:41 PM
Reading conditional format that is active in VB Chris Excel Programming 4 August 28th 04 03:01 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"