Hi,
I am trying to import a spreadsheet into my access database using the transferspreadsheet method. I am having a real hard time trying to understand the spreadsheet type i am importing. The worksheet is saved from excel as 'xlOpenXMLWorkbook'. I have tried using the spreadsheet type 'acSpreadsheetTypeExcel12Xml' but after the import my table headers are corrupted.
heres the excel vba code to save the spreadsheet
heres the access vba code to import the spreadsheetPlease Login or Register to view this content.
If i manually save the "Master_List" worksheet as an excel workbook the transferspreadsheet command will work correctly, but i am trying automate the process as much as possible.Please Login or Register to view this content.
Thanks,
Dubbdan
Bookmarks