Im looking to temporarily change the name of a report to the contents of Me.Combo16 & Me.Text18
Then change it back after PDFing to just Me.Combo16
Here is my code to PDF (which works perfectly atm)
The reason is so that the name is automatically set to save as the name + the date so they dont accidently overrite any previous saves
P.s the date is from the Me.Text18
Thanks in advance
Then change it back after PDFing to just Me.Combo16
Here is my code to PDF (which works perfectly atm)
Code:
Private Sub Command6_Click()
Application.Printer = Application.Printers("Adobe PDF")
DoCmd.OpenReport Me.Combo16
End Sub
The reason is so that the name is automatically set to save as the name + the date so they dont accidently overrite any previous saves
P.s the date is from the Me.Text18
Thanks in advance
