編輯

共用方式為


Protection.AllowFormattingCells Property

Definition

Returns True if the formatting of cells is allowed on a protected worksheet.

public:
 property bool AllowFormattingCells { bool get(); };
public bool AllowFormattingCells { get; }
Public ReadOnly Property AllowFormattingCells As Boolean

Property Value

Remarks

The AllowFormattingCells property can be set by using the Protect(Object, Object, Object) method arguments.

Use of this property disables the protection tab, allowing the user to change all formats but not to unlock or unhide ranges.

Applies to