Pdeters
asked on
Import from Excel to Access
I am using the following below to import from an Excel worksheet to Access 2003.
I want it to always grab the first sheet in the workbook but the first sheet always has a different name. How can I specific this?
DoCmd.TransferSpreadsheet , acSpreadsheetTypeExcel5, "tmp_Import", FilePath, False, "Sheet1!A3:F100"
I want it to always grab the first sheet in the workbook but the first sheet always has a different name. How can I specific this?
DoCmd.TransferSpreadsheet , acSpreadsheetTypeExcel5, "tmp_Import", FilePath, False, "Sheet1!A3:F100"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks