Please help me,
I am designing a small application that takes an excel sheet , this sheet contains my students marks inside a table named grade1.
I want to import this table to my access table I use this command:
DoCmd.TransferS preadsheet acImport, acSpreadsheetTy peExcel12, "Grade1A", varFile, True, "grade1A"
but I dont want to put the name of the range " grade1A" , I just want access to retrive the name from the excel sheet, or open the excel sheet for the user and he selects the range to be imported.
anyone can help me??
thanks in advance
I am designing a small application that takes an excel sheet , this sheet contains my students marks inside a table named grade1.
I want to import this table to my access table I use this command:
DoCmd.TransferS preadsheet acImport, acSpreadsheetTy peExcel12, "Grade1A", varFile, True, "grade1A"
but I dont want to put the name of the range " grade1A" , I just want access to retrive the name from the excel sheet, or open the excel sheet for the user and he selects the range to be imported.
anyone can help me??
thanks in advance
Comment