G
Guest
I'm having trouble importing a excel spreadsheet with my VBA code. I'm
currently importing a file that has several worksheet tabs on the bottom of
the spreadsheet. I'm extracting data from a specific tab called
"SigOpt&SigInd_Data". When I write the code to extrac the data, I place the
range, but keep getting an error because of the "&" sign. How would I write
the code for this, to extract that tab with the "&" in the name. Currently my
code looks like this.....
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "Inventory_B",
"C:\Data\Access\32305UCLSOR_PM", True, "SigOpt&SigInd_Data!"
currently importing a file that has several worksheet tabs on the bottom of
the spreadsheet. I'm extracting data from a specific tab called
"SigOpt&SigInd_Data". When I write the code to extrac the data, I place the
range, but keep getting an error because of the "&" sign. How would I write
the code for this, to extract that tab with the "&" in the name. Currently my
code looks like this.....
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "Inventory_B",
"C:\Data\Access\32305UCLSOR_PM", True, "SigOpt&SigInd_Data!"