Somenone have an idea why this line cause an error??? DoCmd.TransferSpreadsheet (acExport,,"R_export_excel","d:\test.xls",,,) Thanks!