Table of Contents

Class ExcelProtectedRange

Namespace
OfficeOpenXml
Assembly
EPPlus.dll

A protected range in a worksheet ExcelProtection ExcelSheetProtection ExcelEncryption

public class ExcelProtectedRange : XmlHelper
Inheritance
ExcelProtectedRange
Inherited Members

Properties

Address

The address of the protected range

public ExcelAddress Address { get; set; }

Property Value

ExcelAddress

Name

The name of the protected range

public string Name { get; set; }

Property Value

string

SecurityDescriptor

The security descriptor defines user accounts who may edit this range without providing a password to access the range.

public string SecurityDescriptor { get; set; }

Property Value

string

Methods

SetPassword(string)

Sets the password for the range

public void SetPassword(string password)

Parameters

password string

The password used to generete the hash