Good afternoon everyone,
I currently have a form set up to create and save reports in Excel format. I would like to include the date that the reports were last run. I currently have three buttons for running the report, Report A, Report B and one for both A&B. My form currently prompts for both the Start Date and End Date for the report. So I would like to have documented the Date the Report was Run and What Start and End Dates were specified.

And the code for my buttons is:
Code:
'------------------------------------------------------------
' Removal List
'
'------------------------------------------------------------
Private Sub Command0_Click()
On Error GoTo Command0_Click_Err
DoCmd.OutputTo acOutputQuery, "removeFAST", "ExcelWorkbook(*.xlsx)", CurrentProject.Path & "\" & Format(Date, "mm-dd-yyyy") & " remove FAST.xlsx", True, "", , acExportQualityPrint
Command0_Click_Exit:
Exit Sub
Command0_Click_Err:
MsgBox Error$
Resume Command0_Click_Exit
End Sub
'------------------------------------------------------------
' Add List
'
'------------------------------------------------------------
Private Sub Command2_Click()
On Error GoTo Command2_Click_Err
DoCmd.OutputTo acOutputQuery, "addFAST", "ExcelWorkbook(*.xlsx)", CurrentProject.Path & "\" & Format(Date, "mm-dd-yyyy") & " add FAST.xlsx", True, "", , acExportQualityPrint
Command2_Click_Exit:
Exit Sub
Command2_Click_Err:
MsgBox Error$
Resume Command2_Click_Exit
End Sub
'------------------------------------------------------------
' Both
'
'------------------------------------------------------------
Private Sub Command1_Click()
On Error GoTo Command1_Click_Err
DoCmd.OutputTo acOutputQuery, "addFAST", "ExcelWorkbook(*.xlsx)", CurrentProject.Path & "\" & Format(Date, "mm-dd-yyyy") & " add FAST.xlsx", True, "", , acExportQualityPrint
DoCmd.OutputTo acOutputQuery, "removeFAST", "ExcelWorkbook(*.xlsx)", CurrentProject.Path & "\" & Format(Date, "mm-dd-yyyy") & " remove FAST.xlsx", True, "", , acExportQualityPrint
RunCommand acCmdSaveRecord
Command1_Click_Exit:
Exit Sub
Command1_Click_Err:
MsgBox Error$
Resume Command1_Click_Exit
End Sub
On a side note, while I am asking about this, the report is currently set for CurrentProject.Path . How do I set it for a different path?
Thank you for all of your help, I appreciate it.