ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Datatypes (https://www.excelbanter.com/excel-programming/412188-datatypes.html)

Krister[_2_]

Datatypes
 
Hello, Group.

I use ADODB to retrieve values from excel spreadsheets, and have a problem
when a column's datatype is 5 (numeric) and still the column holds some
character values. The cells having character values are fethced as NULL,
without any error.

Can someone enlighten me on these issues:
- how is the datatype set in Excel?
- can I change it before retrieving the values with ADOdb?
- is there any way within ADO to fecth these irregular cells, or do I need
to use something else?

TIA
Krister


Krister[_2_]

Datatypes
 
No answer on this - why? If it is out of scope for this group - where would
it be in-scope?



"Krister" skrev i meddelandet
...
Hello, Group.

I use ADODB to retrieve values from excel spreadsheets, and have a problem
when a column's datatype is 5 (numeric) and still the column holds some
character values. The cells having character values are fethced as NULL,
without any error.

Can someone enlighten me on these issues:
- how is the datatype set in Excel?
- can I change it before retrieving the values with ADOdb?
- is there any way within ADO to fecth these irregular cells, or do I need
to use something else?

TIA
Krister




All times are GMT +1. The time now is 12:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com