Syntax

expression.IncludeProtection

expression A variable that represents a Style object.

Example

This example sets the style attached to cell A1 on Sheet1 to include protection format.

Visual Basic for Applications
Worksheets("Sheet1").Range("A1").Style.IncludeProtection = True
Can I use the locking feature in my style? include include protection Include Protection Property Include worksheet protection in a style. includeprotection IncludeProtection Property

See also: