Message-ID: <824673985.9927.1711706977603.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9926_947870433.1711706977603" ------=_Part_9926_947870433.1711706977603 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html ExcelTemplate.DecryptPassword

ExcelTemplate.DecryptPassword

Description=20

To decrypt an encrypted template, set DecryptPassword to the password set using EncryptPassword or in = Microsoft Excel (Tools -> Options... -> Security).

=20
C#
=20
 public System.String DecryptPassword{ get; set; }
=20
=20
vb.net
=20
Public Property DecryptPassword() As String
=20
=20

Remarks

Set=20 DecryptPassword before calling=20 Open.=20

Examples

=20
C#
=20

          ExcelTemplate xlt =3D new ExcelTemplate();
          xlt.DecryptPassword =3D "password";
          xlt.Open(Application["templatepath"] +
               @"\DataBinding\EmployeeOrdersTemplate.xls");
        
=20
=20
vb.net
=20

          Dim xlt As New ExcelTemplate()
          xlt.DecryptPassword =3D "password"
          xlt.Open(Application["templatepath"] & _
               "\DataBinding\EmployeeOrdersTemplate.xls")
        
=20
------=_Part_9926_947870433.1711706977603--