CubeField.AutoGroup method (Excel)

Automatically groups the cube fields in an OLAP cube, optionally in the specified orientation and/or at the specified position.


expression.AutoGroup (Orientation, Position)

expression A variable that represents a CubeField object.


Name Required/Optional Data type Description
Orientation Optional Variant The orientation of the group.
Position Optional Variant The position of the group.

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.