Skip to content

Export Word to PDF

Function Description

TIP

Export a Word document as a PDF

Export Word to PDF

Configuration Item Description

General

Command Input

  • Word ObjectTDocumentApplication: Enter a Word object created by the 'Open or Create Word' function

  • Export RangeInteger: Provide various Word export range options

  • Start PageInteger: Enter the start page number for exporting to PDF. Page numbering starts from 1

  • End PageInteger: Enter the end page number for exporting to PDF. Page numbering starts from 1

  • Save PDF Tostring: Enter the file name to save the exported PDF

  • Overwrite if File ExistsBoolean: Overwrite the file if it exists. If the PDF save path does not exist, it will be created automatically

Command Output

No output for the current command

Advanced

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None