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

ExcelApplication is not
available in ExcelWriterSE.

EncryptPassword Property

Syntax:

[VBScript]
Property EncryptPassword As String (read/write) 

Description:

If you set EncryptPassword, ExcelWriter will encrypt the generated spreadsheet - when Save 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 Save.

Example:

[VBScript]
Set oXLW = Server.CreateObject("Softartisans.ExcelWriter")
...
oXLW.EncryptPassword = "MyPassword"



Copyright 2006 © SoftArtisans, Inc. All Rights Reserved.