Hello All
This code saves my excel sheet as a PDF and then saves this named as Range "H7"
How can I change this please to save as "D19" & "-" & "H7"
This code saves my excel sheet as a PDF and then saves this named as Range "H7"
How can I change this please to save as "D19" & "-" & "H7"
Code:
Sheet1.Range("A4:J56").ExportAsFixedFormat xlTypePDF, Filename:= _
"C:\Invoices\" & Sheet1.Range("H17").Value, Openafterpublish:=True