Message 1 of 3
DAO/ADO Returning Null on Excel File Integers
Not applicable
03-11-2003
04:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm finding that if I connect to a XLS file with DAO or ADO that
certain cells will return null when it should contain an integer.
I've tried formatting the cells as text in Excel but that don't help.
The null shows up as a variant in the fetched data collection even
before I attempt to assign it to a variable.
What does help is prefixing each integer with an ' in Excel. But
thats obviously not a practical thing to do.
Anyone ever run across this?
Thanks in advance.
Terry
certain cells will return null when it should contain an integer.
I've tried formatting the cells as text in Excel but that don't help.
The null shows up as a variant in the fetched data collection even
before I attempt to assign it to a variable.
What does help is prefixing each integer with an ' in Excel. But
thats obviously not a practical thing to do.
Anyone ever run across this?
Thanks in advance.
Terry