--- title: "PasswordProtectReportDocument" slug: "passwordprotectreportdocument" updated: 2025-10-07T09:58:30Z published: 2025-10-07T11:02:35Z canonical: "help.mail-and-deploy.com/passwordprotectreportdocument" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # PasswordProtectReportDocument ### 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(, ) ### Examples The password difut7345 will be set to the Sales Analysis Report: Substring Function Example PasswordProtectReportDocument ("Sales Analysis Report", "difut7345")