GirlBlonde
Programmer
hi i am trying unsuccessfully to export a query automatically via a button to excel using the below code but i keep getting errors. can anyone see where i am going wrong? very frustrated.
thanks
query is called exportexcel spreadsheet is SendCarRequestExcel and the sheet name is also SendCarRequestExcel
DoCmd.TransferSpreadsheet acExport, "MicrosoftExcel(*.xlsx)", "[[Exportexcel]]", "[[SendCarRequestExcel]]", False, "[[SendCarRequestExcel]]"
Energy & persistance conquer all things!
thanks
query is called exportexcel spreadsheet is SendCarRequestExcel and the sheet name is also SendCarRequestExcel
DoCmd.TransferSpreadsheet acExport, "MicrosoftExcel(*.xlsx)", "[[Exportexcel]]", "[[SendCarRequestExcel]]", False, "[[SendCarRequestExcel]]"
Energy & persistance conquer all things!