|
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.
|