ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Export.Excel Assembly / GrapeCity.SpreadBuilder Namespace / Workbook Class / ProtectWorkBookStructure Property

In This Topic
    ProtectWorkBookStructure Property
    In This Topic
    Sets or returns a value indicating whether Excel will let the user add, delete, reorder, or rename sheets in the workbook.
    Public Property ProtectWorkBookStructure As Boolean
    public bool ProtectWorkBookStructure {get; set;}

    Property Value

    Boolean.  The default value is False.
    GrapeCity.SpreadBuilder.Workbook sb = new GrapeCity.SpreadBuilder.Workbook();
    sb.ProtectWorkBookStructure = true;
    Dim sb As New GrapeCity.SpreadBuilder.Workbook
    sb.ProtectWorkBookStructure = True
    See Also