BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

DocumentPassword Property

Sets a password for printing password protected Excel document.

Type

String (write-only)

Remarks

N/A.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.ExcelPrintJob
oPrintJob.DocumentPassword = "my_password"
oPrintJob.PrintOut "C:\test\protected.xls", "C:\test\output.pdf"