I'm trying to export a report to a pdf file so the filename varies with the date. I'm using the following syntax:
"C:\Data_Reports\FileName" & Format(Date(), "yyyymmdd") & ".pdf"
The report was exported, but the filename is missing the date and pdf extension.
"C:\Data_Reports\FileName" & Format(Date(), "yyyymmdd") & ".pdf"
The report was exported, but the filename is missing the date and pdf extension.