Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format is lost when number changed to text | Excel Worksheet Functions | |||
letters across the top has changed to number | Excel Discussion (Misc queries) | |||
Text not fully displayed when text direction changed | Excel Discussion (Misc queries) | |||
Number changed to Currency and ... | Excel Worksheet Functions | |||
number changed to zero | Excel Worksheet Functions |