G
Guest
Hi,
I have 3 tables and I populate each by importing 3 spreadsheets. The 3
spreadsheets are basically set up the same way and on all 3 spreadsheets the
1st row contains column headings. The spreadsheets are created via VBA by
extracting data from a series of formatted spreadsheets that are submitted
from different divisions (budgeting data) to new spreadsheet files that are
saved/closed and then imported.
For some reason with one of the tables (same table every time) when I import
the corresponding spreadsheet using either the Get External Data - Import
option from the toolbar or the TransferSpreadsheet method in VBA the first
row is always a blank record.
I have examined the spreadsheet which always give me the blank record and
compared it to the other two spreadsheets that import correctly and I can see
no reason why this is happening. As I said all 3 spreadsheets are created
the exact same way and the VBA code is the same other that what cells are
referenced. I have tried recreating the Access table from scratch to see if
there was something goofy with the table but that wasn’t the problem either.
If anybody has any ideas and can point me in the right direction to solving
this problem it would be greatly appreciated.
Thanks,
J.A.
I have 3 tables and I populate each by importing 3 spreadsheets. The 3
spreadsheets are basically set up the same way and on all 3 spreadsheets the
1st row contains column headings. The spreadsheets are created via VBA by
extracting data from a series of formatted spreadsheets that are submitted
from different divisions (budgeting data) to new spreadsheet files that are
saved/closed and then imported.
For some reason with one of the tables (same table every time) when I import
the corresponding spreadsheet using either the Get External Data - Import
option from the toolbar or the TransferSpreadsheet method in VBA the first
row is always a blank record.
I have examined the spreadsheet which always give me the blank record and
compared it to the other two spreadsheets that import correctly and I can see
no reason why this is happening. As I said all 3 spreadsheets are created
the exact same way and the VBA code is the same other that what cells are
referenced. I have tried recreating the Access table from scratch to see if
there was something goofy with the table but that wasn’t the problem either.
If anybody has any ideas and can point me in the right direction to solving
this problem it would be greatly appreciated.
Thanks,
J.A.