# CommentType complexType

Contains the comment to be associated with this cell

## Type Information

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

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
Data | Specifies the contents of the comment that is associated with a cell.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Author | xsd:string | optional | Specifies the author of a comment. | See external namespace.
ShowAlways | TrueFalseType | optional | Specifies whether a comment is always displayed or is displayed only when the user rests the curser on the cell. | 0 1

## Definition

    <xsd:complexType name="CommentType" >
      <xsd:sequence>
        <xsd:element name="Data" minOccurs="1">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:any processContents="skip" maxOccurs="unbounded" />
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
      <xsd:attribute form="qualified" name="Author" type="xsd:string" use="optional">
      </xsd:attribute>
      <xsd:attribute form="qualified" name="ShowAlways" type="TrueFalseType" use="optional" default="0">
      </xsd:attribute>
    </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