# Type element

Specifies the type of axis scaling, chart, data source, 3-D shape, or trendline, the data validation constraints on data entered into a range, or the position of legend entries.

## Usage

    <Type />

## Element Information

Element type | Anonymous
Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
DataValidation | Contains the data validation criteria, an input message, and elements related to error messages for a specified range.

### Child Elements

None.

### Attributes

None.

## Definition

    <xsd:element name="Type" default="AnyValue" minOccurs="0" >
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="Custom" />
          <xsd:enumeration value="Date" />
          <xsd:enumeration value="Decimal" />
          <xsd:enumeration value="List" />
          <xsd:enumeration value="TextLength" />
          <xsd:enumeration value="Time" />
          <xsd:enumeration value="Whole" />
          <xsd:enumeration value="AnyValue" />
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:element>

©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