DoniFromMars
Programmer
We’re trying to transfer Excel spreadsheets into an access 2002 database using VBA in access (transferspreadsheet). The transfer is ignoring the last row and last column of the spreadsheet. If the spreadsheet has 12 columns and 1000 rows the table will have 11 columns and 998 rows (one row is converted to field names). This also happens when using in a macro in access and when using the access wizard to get external data. We also discovered that if we open the spreadsheet and save it (even without making a change) the missing row and column will be imported correctly.The spreadsheets come via internet from a third party. We have no control over what they use to create it. We're getting around the problem by having VBA open and save each spread before the transfer (Thanks again for that reply} We’re running VBA 6 in Access 2002 SP3,Excel 2002 SP3. We’d greatly appreciate any explanation and fix. Thanks.