Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When I use ODBC to import data into Excel, all numbers come through with a
leading apostrophe so that Excel sees them as text. e..g INSERT INTO [Sheet1$] VALUES (10) will come into Excel as '10 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ooops .. Sorry I forgot to state my question... how do I stop numbers
appearing as text? Thanks! "LarryPH" wrote: When I use ODBC to import data into Excel, all numbers come through with a leading apostrophe so that Excel sees them as text. e..g INSERT INTO [Sheet1$] VALUES (10) will come into Excel as '10 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ODBC likes to use strings (text) for its output because text is safe. Any
number chan be shown as text but text can not necessarily be converted to a number. That having been said so long as you know there are a couple of things you can do. You cna use a macro to convert the strings or in a column next to the text use the formula =value(A1)... HTH "LarryPH" wrote: Ooops .. Sorry I forgot to state my question... how do I stop numbers appearing as text? Thanks! "LarryPH" wrote: When I use ODBC to import data into Excel, all numbers come through with a leading apostrophe so that Excel sees them as text. e..g INSERT INTO [Sheet1$] VALUES (10) will come into Excel as '10 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() LarryPH wrote: how do I stop numbers appearing as text? Although written from the opposite perspective, there may be something of use he http://www.dicks-blog.com/archives/2...ed-data-types/ Jamie. -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
truncation with imports via html | Excel Worksheet Functions | |||
Data Imports incorrectly | Excel Discussion (Misc queries) | |||
Can delimited text file imports be extracted to a single column i. | Excel Discussion (Misc queries) | |||
Imports | Excel Programming | |||
Updating Excel imports | Excel Programming |