HypGetColCount

Data source types: Essbase, Planning (ad hoc only), Financial Management (ad hoc only), Hyperion Enterprise (ad hoc only)

Description

HypGetColCount() returns the number of column dimensions.

Note:

This function is used specifically with dynamic link views, as described in VBA Functions and Dynamic Link Views.

Syntax

HypGetColCount()

Return Value

Returns the number of column dimensions if successful; otherwise, returns the negative error code.

Example

Declare Function HypGetColCount Lib "HsAddin" () As Long

Sub Macro()
   Dim vtGrid as Variant
   Sts = HypConnect(Empty, "system", "password", "MyDemoBasic")
   Sts = HypRetrieve(Empty)
   Range (“B2”).Select
   Sts = HypGetColCount ()
End sub