Where am I making a mistake in this code, I could not figure out. Need Help
DoCmd.OutputTo ObjectType:=acOutputReport, ObjectName:="General Sales", OutputFormat:=acFormatPDF, Outputfile:="C:\Users\ABC\Desktop (" + CurrentDay + "-" + CurrentMonth + "-" + CurrentYear + ").PDF", False, "", 0, acExportQualityPrint