データ・プロバイダ・タイプ: Essbase、Planning、Financial Management、Hyperion Enterprise
HypGetPagePOVChoices()は、特定の次元で使用可能なメンバー名およびメンバーの説明を戻します。
HypGetPagePOVChoices(vtSheetName, vtDimensionName, vtMbrNameChoices, vtMbrDescChoices)
ByVal vtSheetName As Variant
ByVal vtDimensionName As Variant
ByRef vtMbrNameChoices As Variant
ByRef vtMbrDescChoices As Variant
vtSheetName: 関数を実行するワークシートの名前。vtSheetNameがNullまたはEmptyの場合、アクティブ・ワークシートが使用されます。
vtDimensionName: POVの次元名
vtMbrNameChoices: 出力パラメータ; メンバー名の配列
vtMbrDescChoices: 出力パラメータ; メンバーの説明の配列
正常に終了した場合は0を戻し、それ以外の場合は該当するエラー・コードを戻します。
Public Declare Function HypGetPagePOVChoices Lib "HsAddin" (ByVal vtSheetName As Variant, ByVal vtDimensionName As Variant, ByRef vtMbrNameChoices As Variant, ByRef vtMbrDescChoices As Variant) As Long Sub Example_HypGetPagePOVChoices() Dim mbrName As Variant Dim mbrDesc As Variant sts = HypGetPagePOVChoices(Empty, "Product", vtMbrNameChoices, vtMbrDescChoices) MsgBox (sts) End Sub