

Today i’m going to teach you how to convert an excel sheet to pdf automatically. See the section further down, for details on how the macro works. It also makes it easier to view your excel sheet(s) on a mobile device. In this article, we will show you how to quickly save a worksheet as a pdf file and send it automatically as an attachment through outlook in excel.Īlso, we have seen how to send the activesheet as an attachment in email.in this article i am going to show you how to send the activesheet as an attachment in pdf format. The following macro code will export the active sheet (or sheets) in pdf format. It is a piece of programming code that runs in an excel environment but you don’t need to be a coder to program macros. Copy the code to a regular code module, then select the sheet(s) you want to export, and run the macro. C:\pdf\export.pdf is the path and name of your saving pdf file. Our first and perhaps most widely used pdf conversion is from pdf to excel. The sample save_excel_as_pdf_1 macro above used the worksheet.exportasfixedformat method with its only required parameter (type).

Hi i have data in my spread sheet, assume sheet1. We need this type of functionality, when we develop applications which output reports.

Now you know, how to save an excel sheet as a pdf.

The new convert excel to pdf feature is a nice way to share an excel sheet (or multiple sheets) without giving someone access to the entire file.ġ01 Ready To Use Excel Macros EBook Excel macros, Excel Dear readers, in my previous article, you saw how to save an excel sheet as pdf file.now you know, how to save an excel sheet as a pdf. I have defined a print area in the excel.
