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.5")
Set oPrintJob = oPrinter.ExcelPrintJob
oPrintJob.DocumentPassword = "my_password"
oPrintJob.PrintOut "C:\protected.xls", "C:\output.pdf"

 

 

<<