ExcelWorkbookToPdf

Converts .xls or .xlsx files to PDF document format.

Member of namespace

Convert

Syntax

bool ExcelWorkbookToPdf ()

Returns

True if the file conversion succeeds. Otherwise, the action returns False if the current page is not an Excel document or some other conversion failure occurs..

Level

Page level.

Details

Use this action to convert Excel files to a single PDF file. To set the compliance standard for the produced PDF document, set the value of the variable targetPdfCompliance in accordance with the following table:
Standard targetPdfCompliance value
Pdf15 No value is set. (This standard is the default standard.)
PdfA1b "1"
This action sets the batch to abort in the following circumstances:
  • The number of input files or pages exceeds the allowed maximum.
  • The conversion fails.
Example:
ExcelWorkbookToPdf