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...