Nov 18, 2003 #1 thegameoflife Programmer Joined Dec 5, 2001 Messages 206 Location US How can I specify what sheet I want to import into access?
Nov 18, 2003 #2 LonnieJohnson Programmer Joined Apr 16, 2001 Messages 2,628 Location US Try... DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "MyTableName", "Path", , "Sheet2!" You must use the exclamation mark after the sheet name. ProDev, MS Access Applications Visit me at ==> http://www.prodev.usContact me at ==>lonniejohnson@prodev.us May God bless you beyond your imagination!!! Upvote 0 Downvote
Try... DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "MyTableName", "Path", , "Sheet2!" You must use the exclamation mark after the sheet name. ProDev, MS Access Applications Visit me at ==> http://www.prodev.usContact me at ==>lonniejohnson@prodev.us May God bless you beyond your imagination!!!
Nov 19, 2003 Thread starter #3 thegameoflife Programmer Joined Dec 5, 2001 Messages 206 Location US thank you Upvote 0 Downvote