Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wozniak
 
Posts: n/a
Default date problem in excel

I have a problem that when I open a file, like text or csv file, the cell
with number dash number, ex. 10-5, will be automatically changed to date
format. But this really affect my data analysis. I know we could add ' before
typing or change cell format before typing, but how to cancel this autoformat
when opening another file??

Thanks

  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

is not number (dash) number is not a number only a text.
in that case type '(single apostrophe)10-5


Wozniak wrote in message
...
I have a problem that when I open a file, like text or csv file, the cell
with number dash number, ex. 10-5, will be automatically changed to date
format. But this really affect my data analysis. I know we could add '

before
typing or change cell format before typing, but how to cancel this

autoformat
when opening another file??

Thanks



  #3   Report Post  
Max
 
Posts: n/a
Default

Perhaps one work-around ..

Try to force the file opening to go through the Text Import Wizard
(rename the file to have a .txt extension in explorer)

Click Next Next to proceed to step 3 of the wizard
In the Text Import Wizard's step 3:
Select the column(s) affected (in turn, one at a time) in the Data preview
pane, then check: "Text" under "Column data format", then click Finish

Columns checked "Text" will be preserved intact
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik
----
"Wozniak" wrote in message
...
I have a problem that when I open a file, like text or csv file, the cell
with number dash number, ex. 10-5, will be automatically changed to date
format. But this really affect my data analysis. I know we could add '

before
typing or change cell format before typing, but how to cancel this

autoformat
when opening another file??

Thanks



  #4   Report Post  
Max
 
Posts: n/a
Default

Try to force the file opening to go through the Text Import Wizard
(rename the file to have a .txt extension in explorer)


Then open the file from within Excel (via File Open, then select "Text
Files" in the "Files of type:" droplist)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik
----


  #5   Report Post  
Wozniak
 
Posts: n/a
Default

Thanks, it works. But still no way to change the excel setting?

"Max" wrote:

Try to force the file opening to go through the Text Import Wizard
(rename the file to have a .txt extension in explorer)


Then open the file from within Excel (via File Open, then select "Text
Files" in the "Files of type:" droplist)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik
----





  #6   Report Post  
Max
 
Posts: n/a
Default

"Wozniak" wrote:
Thanks, it works.


You're welcome !

But still no way to change the excel setting?


From a browse through Google, don't think so ..
You may wish to read some of the posts at:
http://tinyurl.com/ey6vu

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik
----


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
Slight problem automating Excel in a service someone Setting up and Configuration of Excel 2 May 13th 05 10:04 PM
Date Math Problem Dkline Excel Worksheet Functions 4 March 4th 05 04:11 PM
Excel formula with date constraints Warrior Pope Excel Discussion (Misc queries) 3 January 28th 05 03:08 PM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM


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