Is there a way to differenciate between multiple Excel Spreasheets in an Excel Workbook when writing the code to TransferSpreads heet?
When I do the command now, I only have one worksheet.
Example:
Now suppose the workbook had 3 worksheets: "test1", "test2" and "test3". How would I name the file in the code if I only want to pull "test2"?
Thank you in advance for your input.
When I do the command now, I only have one worksheet.
Example:
Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "Test", "c:/test.xls", True
Thank you in advance for your input.
Comment