Data source types: Essbase, Planning (ad hoc only), Financial Management (ad hoc only), Hyperion Enterprise (ad hoc only)
HypMenuVPivot() changes the orientation (from row to column or from column to row) of the group of members associated with the active cell.
Returns 0 if successful; otherwise, returns the appropriate error code.
Declare Function HypMenuVPivot Lib "HsAddin"() As Long
Sub MPivot()
X=HypMenuVPivot()
End Sub