Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

PivotField.DrillTo Method

Office 2007
The DrillTo method supports drilling to a specified PivotField from another PivotField.

Version Information
 Version Added:  Excel 2007

Syntax

expression.DrillTo(PivotFieldName)

expression   A variable that represents a PivotField object.

Parameters

NameRequired/OptionalData TypeDescription
PivotFieldNameRequiredStringThe name of the PivotField to drill to.

Remarks

This operation can only be performed on fields that are actually on the PivotTable. So either a hierarchy containing the requested PivotField has to be in rows or columns of the PivotTable, or the attribute/relational field has to be in rows or columns of the PivotTable placed next to at least one other attribute/relational field. Also, the field being drilled to has to be in the same hierarchy or attribute chain. If these conditions are not met, a run-time error occurs.




Community Additions

Show:
© 2014 Microsoft. All rights reserved.