Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Stop Excel changing CSV text into dates

On Jan 6, 10:03*am, "Paul E Collins"
wrote:
My application generates CSV data files. Users view these in Excel.

When a row of the CSV file contains the text 1-1, Excel incorrectly renders
it as a date (1 January).


Try padding a space in front, eg

test, alpha,123, 1-1
test2, beta,234, 1-1
t3,theta,3432, 1-1

The apostrophe is the ancient text indicator, but it reads as a " ' "
when you first open, but converts to invisible if you edit the cell.

HTH,

tim
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
how to stop fractions in a columm automatically changing to dates John Excel Discussion (Misc queries) 6 August 5th 09 09:43 AM
stop fractions changing to dates John Excel Discussion (Misc queries) 1 August 5th 09 03:31 AM
Stop UK-style dates changing to US-style dates when mailmerging. Jean XO Excel Discussion (Misc queries) 1 December 20th 07 12:35 PM
How to stop text changing to date Abbi Excel Discussion (Misc queries) 2 June 7th 05 08:49 PM
Stop Excel from changing numbers to dates in CSV file Curt L. Excel Discussion (Misc queries) 2 June 7th 05 12:23 AM


All times are GMT +1. The time now is 08:36 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"