Search

Excel To PDF

Last Updated: May 27, 2021

Articles

Use this function to convert an Excel document to PDF.

Syntax

Excel To PDF (excel_filepath)

Parameters

Input Parameter Name Description
excel_filepath Path of the input excel document

Returns

Return Value Description
Path Path of the output PDF

Sample

Excel To PDF (C:\User\BankStatement.xlsx)

  • Converts the BankStatement.xlsx Excel document to a PDF.
    Returns C:\Users\jiffy\76625e988dd.pdf, the path where the output PDF is stored.

  • The path and the name of the output files are automatically assigned by the function.
  • If a print area is set in the excel using Set Print Area option, only those selected cells will be extracted in the output PDF.

Make sure you have Microsoft Office installed in your system before using this function.

To view all the Document functions, click here.

Did you find what you were looking for?