Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default import /paste -stop automatic conversion of text 05-12345 to date

When importing or pasting a text file with a non-date field that starts with
a 2 digit number and hyphen (05-99999, 06-99999) excel automatically converts
the entries to a date. I have tried turning off error checking but that did
not help.

If I pre-format the cells as text before the paste, it does not convert to
date. But when downloading I do not have this option. What feature do I need
to turn off?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default import /paste -stop automatic conversion of text 05-12345 to date

After you open the text file in Excel, the Text Import Wizard is displayed.
Choose the appropriate options for your file. In step 3 you can select the
columns with the numbers that are normally treated as dates and choose Text
under Column data format.

This setting applies to the whole column. It will format all dates and
numbers in that column as text.

If you paste the text into Excel and you use Excel 2002 or later, you can
use the Paste Options button to invoke the Text Import Wizard.

I have not found an option in Excel to stop the behavior in question.

--
Kristoffer Andreas Berg
Programmer on a hobby basis
http://home.online.no/~gunnarab


"artech" wrote:

When importing or pasting a text file with a non-date field that starts with
a 2 digit number and hyphen (05-99999, 06-99999) excel automatically converts
the entries to a date. I have tried turning off error checking but that did
not help.

If I pre-format the cells as text before the paste, it does not convert to
date. But when downloading I do not have this option. What feature do I need
to turn off?

Thank you

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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Import comma delimited text Lin Excel Discussion (Misc queries) 3 July 28th 06 04:07 PM
Date and Text in one formula CarolineHedges Excel Worksheet Functions 10 June 23rd 06 03:05 PM
Text, Number and Date formats excel 2003 driving experienced user E F Bat Excel Discussion (Misc queries) 1 January 6th 06 07:10 PM
& reference answering as Date Serial # not actual text Kevin M Excel Worksheet Functions 0 November 30th 04 05:57 PM


All times are GMT +1. The time now is 08:13 AM.

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

About Us

"It's about Microsoft Excel"