No Comments
No comments yet.
RSS feed for comments on this post. TrackBack URI
One of the features in Excel is the ability to convert Excel files to PDF format. In this article we explain how to create a button in the excel worksheet, which when clicked generates a PDF file of that sheet.
Let us take the picture below as example to take a PDF and save it in current folder.






Sub CreatePDF()
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
“Generate Report.pdf”, Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= False
End Sub

————————————————————————————————————–
Vani is a Business Associate with p2w2, a Spreadsheet Solutions company. p2w2 has expertise in Excel Modeling, Excel Dashboards, Profitability Analysis, Excel Invoicesand Excel Bid sheets. You can contact us by email: cs [at] p2w2.com or call us at 305.600.0950.