nancybrown
Well-known Member
- Joined
- Apr 7, 2005
- Messages
- 868
Hi,
I converted an Access macro to VBA, I have a cmd button (cmdDD) on my form (frmDateDescription) to export this to a specific location. Can someone tell me please how to modify the code below in my Event Procedure of the cmd button to point to K:\CLE09\keyfound\Trust - Check Print for the export location.
Thank you in advance.
Private Sub DateDescription_Click()
DoCmd.OutputTo acOutputQuery, "qryCheckDateDescription", "ExcelWorkbook(*.xlsx)", True, "", , acExportQualityPrint
End Sub
I converted an Access macro to VBA, I have a cmd button (cmdDD) on my form (frmDateDescription) to export this to a specific location. Can someone tell me please how to modify the code below in my Event Procedure of the cmd button to point to K:\CLE09\keyfound\Trust - Check Print for the export location.
Thank you in advance.
Private Sub DateDescription_Click()
DoCmd.OutputTo acOutputQuery, "qryCheckDateDescription", "ExcelWorkbook(*.xlsx)", True, "", , acExportQualityPrint
End Sub