hello,
i have two worksheets that i need to import from a workbook that has a
total of 5 worksheets. i tried to use this line of code but i run into
an error message that it cannot find the object/worksheet "1989" due
to invalid parameter or name?
how does one import the specific worksheets without including the
ranges since the whole worksheet needs to be imported?
DoCmd.TransferS preadsheet acImport, 8, "tbl1989",
"H:\Default\Pro cessing Spreadsheet_ACC ESS.xls", True, "1989"
DoCmd.TransferS preadsheet acImport, 8, "tbl1993",
"H:\Default\Pro cessing Spreadsheet_ACC ESS.xls", True, "1993"
thanks in advance jung
i have two worksheets that i need to import from a workbook that has a
total of 5 worksheets. i tried to use this line of code but i run into
an error message that it cannot find the object/worksheet "1989" due
to invalid parameter or name?
how does one import the specific worksheets without including the
ranges since the whole worksheet needs to be imported?
DoCmd.TransferS preadsheet acImport, 8, "tbl1989",
"H:\Default\Pro cessing Spreadsheet_ACC ESS.xls", True, "1989"
DoCmd.TransferS preadsheet acImport, 8, "tbl1993",
"H:\Default\Pro cessing Spreadsheet_ACC ESS.xls", True, "1993"
thanks in advance jung
Comment