Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Number changed to Text

When I convert a Number formatted value to Text format I see that the number
just looks like it's formatted as text. I have to then double click on it
or edit it some how then click away for it to be saved (stored) as text.
For the "inbetween" state before it gets stored as text if I resize the
column to make the column smaller then the number is wide the number will
change to scientific notation. Where as if it is a Number format it turns
to ####..., and if it is stored as text the overlapping part either
disappears or lays on top of the next cell to its right. Is there a way to
change the inbetween state so that it does not get converted to scientific
notation and acts like one of the other two ways?
Thanks,
Nate


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 218
Default Number changed to Text

Putting an apostrophe in front seems to work; e.g., change
123456 to '123456. Excel ignores the apostrophe and treats
it as text. The text value will spill over into the cell
or cells to the right if they are blank instead of
converting to scientific notation or ####'s.

Regards,
Greg

-----Original Message-----
When I convert a Number formatted value to Text format I

see that the number
just looks like it's formatted as text. I have to then

double click on it
or edit it some how then click away for it to be saved

(stored) as text.
For the "inbetween" state before it gets stored as text

if I resize the
column to make the column smaller then the number is wide

the number will
change to scientific notation. Where as if it is a

Number format it turns
to ####..., and if it is stored as text the overlapping

part either
disappears or lays on top of the next cell to its right.

Is there a way to
change the inbetween state so that it does not get

converted to scientific
notation and acts like one of the other two ways?
Thanks,
Nate


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Number changed to Text

yup, i know about the apostrophe. But, I am looking for a way to globally
change the cells. There could be a lot of cells in this situation in a
document we have. I have developed a web based importing tool that reads
the excel file into a recordset using the Jet driver. I find that numbers
which are in this "Confused" state and 7-digits or longer are converted to
scientific notation when read from the Excel file into the recordset. In
the recordset they are considered text so there is no conversion that can be
done to get the original number out. For the driver I use IMEX = 1, to
force types to be text.
thanks,
nate


"Greg Wilson" wrote in message
...
Putting an apostrophe in front seems to work; e.g., change
123456 to '123456. Excel ignores the apostrophe and treats
it as text. The text value will spill over into the cell
or cells to the right if they are blank instead of
converting to scientific notation or ####'s.

Regards,
Greg

-----Original Message-----
When I convert a Number formatted value to Text format I

see that the number
just looks like it's formatted as text. I have to then

double click on it
or edit it some how then click away for it to be saved

(stored) as text.
For the "inbetween" state before it gets stored as text

if I resize the
column to make the column smaller then the number is wide

the number will
change to scientific notation. Where as if it is a

Number format it turns
to ####..., and if it is stored as text the overlapping

part either
disappears or lays on top of the next cell to its right.

Is there a way to
change the inbetween state so that it does not get

converted to scientific
notation and acts like one of the other two ways?
Thanks,
Nate


.



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
Format is lost when number changed to text Sarah (OGI) Excel Worksheet Functions 2 May 17th 07 02:40 PM
letters across the top has changed to number tina Excel Discussion (Misc queries) 2 August 23rd 06 05:19 PM
Text not fully displayed when text direction changed Mikey9131 Excel Discussion (Misc queries) 3 November 30th 05 12:09 PM
Number changed to Currency and ... Dipak Excel Worksheet Functions 0 June 15th 05 12:07 AM
number changed to zero toolb Excel Worksheet Functions 2 January 2nd 05 02:42 PM


All times are GMT +1. The time now is 04:29 PM.

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"