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

EncryptPassword Property

Syntax:

Property EncryptPassword As String (read/write)

Description:

If you set EncryptPassword, ExcelWriter will encrypt the generated spreadsheet - when Process is called - using RC4 encryption. Set EncryptPassword to a string no longer than 15 characters. Use this string to decrypt the file, either in Microsoft Excel or by setting DecryptPassword.

Set EncryptPassword before calling Process.

Example:


Set XlwTemplate = Server.CreateObject("SoftArtisans.ExcelTemplate")
...
XlwTemplate.EncryptPassword = "MyPassword"



Copyright 2006 © SoftArtisans, Inc. All Rights Reserved.