Saturday, April 20, 2019

Save Selected Range as a PDF


Save Selected Range as a PDF
Select a range, run this macro and you will get a PDF file for that selected range. It's really cool.
Sub SaveAsPDF()
Selection.ExportAsFixedFormat Type:=xlTypePDF, OpenAfterPublish:=True
End Sub

No comments:

Post a Comment