workbookFormatProtection resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the format protection of a range object.

Methods

Method Return Type Description
Get FormatProtection workbookFormatProtection Read properties and relationships of formatProtection object.
Update workbookFormatProtection Update FormatProtection object.

Properties

Property Type Description
formulaHidden boolean Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting.
locked boolean Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting.

Relationships

None

JSON representation

The following JSON representation shows the resource type.

{
  "formulaHidden": true,
  "locked": true
}