Excel Inserts Null Values in DTS package



Hello all,
I have DTS package that is importing data from multiple large Excel
files from same directory
into 1 database table. The structures are same and sizes of the .xls
files are good.
The problems come after all files are successfully imported.
The problem:
All contents are formatted as General.
I have 2 types of values in same column
First scenario:
1 cell :899990
2 cell :899990AB

When I import it to database
1 cell is imported as 899990
2 cell is imported as NULL

Second scenario:
1 cell :899990AB
2 cell :899990


When I import it to database
1 cell is imported as 899990AB
2 cell is imported as NULL

I understood that If the first cell is number Excel assumes that all
others are numbers as well and vice versa.
We wrote macro that would go to each cell add empty space and format it

as text and does it for each file on the given directory. It worked
fine, but
for 23 files, 599999 lines each it took 10 days for this macro to run
and I need it to be done at least for 2 days.
I tried to add Extended property in Excel Connection to Disconnected
edit
IMEX=1 it works only for the first file, and others are still having
the problems

Is there any other way to fix this problem.
Thank you in advance

.



Relevant Pages

  • Re: I can not import any Excel Spreadsheet!
    ... had no trouble with the Windows 2000 machine with the same access and excel ... that the file exists and is in the correct format." ... - put the mouse in cell A1, ... Have you tried creating another Excel file and importing that? ...
    (microsoft.public.access.externaldata)
  • Re: I can not import any Excel Spreadsheet!
    ... that the file exists and is in the correct format." ... I had the exact same problem with an excel file that was sent to me. ... - put the mouse in cell A1, ... Have you tried creating another Excel file and importing that? ...
    (microsoft.public.access.externaldata)
  • Re: Create index and perfrom function on each and every value.
    ... Dim iLastRow As Long ... I want to convert every cell in column A to dd/mm/yyyy date format. ... This has to be done in Excel and not in Access. ... that is going to create an interface file for importing a ...
    (microsoft.public.excel.programming)
  • Re: Updating Tables
    ... group in Access, or look for a similar one under Excel, ... the format to "0000" where the number of zero's equals ... I can't remember if you already tried importing ... reading the contents cell by cell, ...
    (microsoft.public.access.formscoding)
  • Re: Export/Import facility in Access 2007
    ... exporting as Excel causes problems. ... For me, importing as Access doesn't. ... I rather think I should have selected Database for the export location, ... Jeff Boyce wrote: ...
    (microsoft.public.access.forms)