CalculatedMember.DisplayFolder property (Excel)

Returns the display folder name for a named set. Read-only.

Syntax

expression.DisplayFolder

expression A variable that returns a CalculatedMember object.

Return value

String

Remarks

The value of this property corresponds to the optional value that can be entered in the Display folder text box of the New/Modify Set dialog box when a named set is created or edited.

To create a new named set from data in a PivotTable based on an OLAP data source, choose the PivotTable, choose Field, Items, & Sets on the PivotTable Tools Options tab on the ribbon, choose Manage Sets, choose New in the Set Manager dialog box, and then choose Create Set using MDX.

This will display the New Set dialog box, which contains the Display folder text box. Similarly, if you select an existing named set in the Set Manager dialog box, and then choose Edit, the Modify Set dialog box is displayed.

This property, along with the Dynamic and HierarchizeDistinct properties, can only be read for named sets (which are represented by CalculatedMember objects where the Type property equals xlCalculatedSet).

These properties cannot be read for calculated members or measures (which are represented by CalculatedMember objects where the Type property equals xlCalculatedMember). If you attempt to read these properties for calculated members or measures, a run-time error is raised.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.