Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / Workbook Class / protect Method / protect(boolean) Method
True to protect the structure of the workbook (To prevent otherusers from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets).
In This Topic
    protect(boolean) Method
    In This Topic
    Protects a workbook so that it cannot be modified.
    Syntax
    public void protect( 
       boolean structure
    )

    Parameters

    structure
    True to protect the structure of the workbook (To prevent otherusers from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets).
    See Also