Below is the code I am working on and what I need to do is just have on click it save the file to a folder and automaticly use the date as the file name but it keeps saving the file name as Date() rather than the date can anyone help?
Private Sub Command378_Click()
DoCmd.OutputTo acReport, "Letter", "RichTextFormat(*.rtf)", "\\192.168.0.1\Letters\& Date()", False, "", 0
End Sub
Private Sub Command378_Click()
DoCmd.OutputTo acReport, "Letter", "RichTextFormat(*.rtf)", "\\192.168.0.1\Letters\& Date()", False, "", 0
End Sub