A stakeholder wants your macro to export the summary sheet as a PDF for distribution. Which method saves a worksheet as a PDF in VBA?
-
A
Sheets("Summary").ExportAsFixedFormat xlTypePDF, "C:\report.pdf"
-
B
Sheets("Summary").SaveAs "C:\report.pdf", xlPDF
-
C
Sheets("Summary").Print.PDF "C:\report.pdf"
-
D
Workbook.ExportPDF Sheets("Summary"), "C:\report.pdf"