Compartilhar via


Protection Members

Include Protected Members
Include Inherited Members

Represents the various types of protection options available for a worksheet.

The Protection type exposes the following members.

Properties

  Name Description
Public property AllowDeletingColumns Returns True if the deletion of columns is allowed on a protected worksheet.
Public property AllowDeletingRows Returns True if the deletion of rows is allowed on a protected worksheet.
Public property AllowEditRanges Returns an AllowEditRanges object.
Public property AllowFiltering Returns True if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
Public property AllowFormattingCells Returns True if the formatting of cells is allowed on a protected worksheet.
Public property AllowFormattingColumns Returns True if the formatting of columns is allowed on a protected worksheet.
Public property AllowFormattingRows Returns True if the formatting of rows is allowed on a protected worksheet.
Public property AllowInsertingColumns Returns True if the insertion of columns is allowed on a protected worksheet.
Public property AllowInsertingHyperlinks Returns True if the insertion of hyperlinks is allowed on a protected worksheet.
Public property AllowInsertingRows Returns True if the insertion of rows is allowed on a protected worksheet.
Public property AllowSorting Returns True if the sorting option is allowed on a protected worksheet.
Public property AllowUsingPivotTables Returns True if the user is allowed to manipulate pivot tables on a protected worksheet.

Top

See Also

Reference

Protection Interface

Microsoft.Office.Interop.Excel Namespace