# Selection element (PivotTableType complexType)

Contains information about the current PivotTable selection.

## Usage

    <Selection />

## Element Information

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

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
PivotTable | Contains information about a PivotTable view.

### Child Elements

Element | Description
--- | ---
PTRule | Contains the properties of structured selection rules within a PivotTable report, report format, or report formula.
Pane | Contains the properties of a pane in a worksheet window, or specifies a pane containing the structured selection of a PivotTable report.
NoToggleDataHeader | Specifies whether a combination of item labels and item data can be selected.

### Attributes

None.

## Definition

    <xsd:element name="Selection" type="SelectionType" minOccurs="0" >
    </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