General
The PasswordProtectReportDocument will set a password to an Excel Report. This function can be used in Tasks.
Syntax
The syntax of the PasswordProtectReportDocument function is:
PasswordProtectReportDocument Function Syntax
PasswordProtectReportDocument(<Report name>, <Password>)
Examples
The password difut7345 will be set to the Sales Analysis Report:
Substring Function Example
PasswordProtectReportDocument ("Sales Analysis Report", "difut7345")