IncludeProtection Property
Applies To
Style object.
Description
True if the style includes the FormulaHidden and Locked protection properties. Read/write Boolean.
See Also
FormulaHidden property, IncludeAlignment property, IncludeBorder property, IncludeFont property, IncludeNumber property, IncludePatterns property, Locked property.
Example
This example sets the style attached to cell A1 on Sheet1 to include protection format.
Worksheets("Sheet1").Range("A1").Style.IncludeProtection = True