Syntax

expression.TreeviewControl

expression A variable that represents a CubeField object.

Remarks

This property is available only when the control is visible.

Example

This example sets the first cube field control to "drilled" for the states of California and Maryland in the second PivotTable report on the active worksheet.

Visual Basic for Applications
ActiveSheet.PivotTables("PivotTable2") _ .CubeFields(1).TreeviewControl.Drilled = _ Array(Array("", ""), _ Array("[state].[states].[CA]", _ "[state].[states].[MD]"))
treeview treeview control Treeview Control Property treeviewcontrol TreeviewControl Property

See also: