i made a range in criteria to export the ID in batchs
[id] < 1,000,000
[id] between 1,000,001 and 2,000,000
[id] > 2,000,001
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12xls, "query1", vFile, True,"qry1"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12xls, "query2", vFile, True, "qry2"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12xls, "query3", vFile, True, "qry3"