Hello,
I want to save a file as a PDF file instead of a macro enabled excel file. Below is the code I am currently using to save to the desktop as an Excel file. I just want to switch it up now and save as a PDF.
ThisWorkbook.SaveAs Filename:="C:\Personal\" & Environ$("Username") & _
"\Desktop\" & "Rosenberg Daily Downtime Report " & Format(Now, " DD-MMM-YY"), _
FileFormat:=xlOpenXMLWorkbookMacroEnabled
Thanks!
Loki
I want to save a file as a PDF file instead of a macro enabled excel file. Below is the code I am currently using to save to the desktop as an Excel file. I just want to switch it up now and save as a PDF.
ThisWorkbook.SaveAs Filename:="C:\Personal\" & Environ$("Username") & _
"\Desktop\" & "Rosenberg Daily Downtime Report " & Format(Now, " DD-MMM-YY"), _
FileFormat:=xlOpenXMLWorkbookMacroEnabled
Thanks!
Loki