Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.7.1
ASP/COM Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelTemplate > DecryptPassword

DecryptPassword Property

Syntax:

Property DecryptPassword As String (read/write)

Description:

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

Set DecryptPassword before calling Open.

Example:

[VBScript]
Set XlwTemplate = Server.CreateObject("SoftArtisans.ExcelTemplate")
...
XlwTemplate.DecryptPassword = "MyPassword"
XlwTemplate.Open "c:\templates\template.xls"
...



Copyright 2006 © SoftArtisans, Inc. All Rights Reserved.