Hi,
we get an excel spreadsheet from our suppliers for the silicon wafers they supply us, it contains debug and failure info, and i need to import some of it into our database. my issue is the worksheet names are #01 - #25 and i cant get access to see these worksheets
i use
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12, tablename, fileName, False, "#01!B3:I11"
(fileName is a string variable set from a file picker)
but it errors out saying that '.01!B3:I11' cant be found.
as a test i changed the name of one worksheet to S01 and that works fine.
there is no option to have the supplier change the worksheet name (its auto generated) and i would rather not have to change 25 worksheet names by hand for every order. is there a way to stop access changing the # to a .?
hope you guys can help
thanks
we get an excel spreadsheet from our suppliers for the silicon wafers they supply us, it contains debug and failure info, and i need to import some of it into our database. my issue is the worksheet names are #01 - #25 and i cant get access to see these worksheets
i use
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12, tablename, fileName, False, "#01!B3:I11"
(fileName is a string variable set from a file picker)
but it errors out saying that '.01!B3:I11' cant be found.
as a test i changed the name of one worksheet to S01 and that works fine.
there is no option to have the supplier change the worksheet name (its auto generated) and i would rather not have to change 25 worksheet names by hand for every order. is there a way to stop access changing the # to a .?
hope you guys can help
thanks