|
-
Feb 2nd, 2000, 07:56 AM
#1
Thread Starter
New Member
Hi All,
I am trying to import a column from excel 8.0 using DAO with vb5. The problem I am having is that the column I am trying to import has a mixture of numerals and text.
As far as I can tell I have the excel initialization settings of 'ImportMixedTypes' set to text, and 'TypeGuessRows' set to 8 and have also tried 2 and 1.
This is what happens...
12345.001
23456.001L
34567.001
It will read 12345.001 and 23456.001L but returns null for 34567.001
Any ideas?
Cheers,
David
-
Feb 2nd, 2000, 03:02 PM
#2
Hyperactive Member
hello david,
I had the same problem with MS-Access. Was a field filled in or not!
Maybe the next Vb functions will help.
Pls inform me the result.
IsNummeric
IsDate
IsEmpty
IsNull
Nice regards,
Michelle.
-
Feb 2nd, 2000, 05:32 PM
#3
-
Feb 3rd, 2000, 05:58 AM
#4
Thread Starter
New Member
-
Feb 3rd, 2000, 06:36 PM
#5
Frenzied Member
You see this;
"according to the help file when this is set to 'text' it is meant to convert all cells in the column to text if there is more than one type present. "
This is a lie from Microsoft! It will NOT convert anything that is flagged as a number in a text column - it will turn them into NULL.
Very helpful. Thanks Microsoft.
You're better off using a text file. Believe me. I've pulled my hair out over this very problem for ages!!
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|