# ProtectionType complexType

Defines the protection properties that should be used for cells to which the defined style is applied.

## Type Information

Namespace | urn:schemas-microsoft-com:office:spreadsheet
Schema name | XML Spreadsheet 2002

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Protected | TrueFalseType | optional | Specifies whether a cell is protected. When the worksheet is unprotected, enabling protection on individual cells has no effect. | 0 1
x:HideFormula | external ref | optional | See external namespace. | See external namespace.

## Definition

    <xsd:complexType name="ProtectionType" >
      <xsd:attribute form="qualified" name="Protected" type="TrueFalseType" use="optional" default="1">
      </xsd:attribute>
      <xsd:attribute ref="x:HideFormula" use="optional" default="1" />
    </xsd:complexType>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp