ActiveReports Developer 7
ProtectWorkBookStructure Property
See Also  Example
GrapeCity.ActiveReports.Export.Excel.v7 Assembly > GrapeCity.SpreadBuilder Namespace > Workbook Class : ProtectWorkBookStructure Property

Glossary Item Box

Sets or returns a value indicating whether Excel will let the user add, delete, reorder, or rename sheets in the workbook.

Syntax

Visual Basic (Declaration) 
Public Property ProtectWorkBookStructure As System.Boolean
C# 
public System.bool ProtectWorkBookStructure {get; set;}

Property Value

Boolean.  The default value is False.

Example

C#Copy Code
GrapeCity.SpreadBuilder.Workbook sb = new GrapeCity.SpreadBuilder.Workbook();
sb.ProtectWorkBookStructure = true;
Visual BasicCopy Code
Dim sb As New GrapeCity.SpreadBuilder.Workbook
sb.ProtectWorkBookStructure = True

See Also