Hi,
how can I modify the code below to also save a copy as excel format as well beside the PDF and after saving it open the file.
Thank you,
how can I modify the code below to also save a copy as excel format as well beside the PDF and after saving it open the file.
VBA Code:
Sub SaveActiveWorkbookAsPDF()
Dim saveLocation As String
'Call posttoregister
'Call create_and_email_4pdf
saveLocation = "C:\Users\jose.rossi\Desktop\Excel Files\Contras\West Telecom\" & Range("A125").Value & ".pdf"
'Save active workbook as PDF
ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, _
filename:=saveLocation
End Sub
Thank you,