I try to use this command to import a spreadsheet
"DoCmd.Transfer Spreadsheet acImport, 8, tablename & " -tbl", DIR &
"Book2.xls" , True"
and it errors out. If I try to import that same spreadhseet with menu
commands directly it works fine. The Docmd.transfers preadsheet command
has always worked for me in the past, I will admit the excel file I'm
importing is now slghtly different but I cannot figure out why the
transfer does not work.
TIPS??
"DoCmd.Transfer Spreadsheet acImport, 8, tablename & " -tbl", DIR &
"Book2.xls" , True"
and it errors out. If I try to import that same spreadhseet with menu
commands directly it works fine. The Docmd.transfers preadsheet command
has always worked for me in the past, I will admit the excel file I'm
importing is now slghtly different but I cannot figure out why the
transfer does not work.
TIPS??
Comment