Hyperion Financial Reporting Products (MOSC)

MOSC Banner

Dynamic HypGetAncestor

edited Sep 5, 2014 6:06AM in Hyperion Financial Reporting Products (MOSC) 2 commentsAnswered ✓


All,

Really new to smartview and would like to create a VBA that reads a cell in the spreadsheet and returns the ancestor for it. Below is my code. When I execute I get the -15 return value (so I know that there is something wrong). I am struggling to understand how do I tell it to look at cell A3.

Any help is appreciated. I know if I change the value in the msgbox to a true measure then my code works

Declare Function HypGetAncestor Lib "HsAddin" (ByVal vtSheetName As Variant, ByVal vtMemberName As Variant, ByVal vtLayerType As Variant, ByVal intLayerNumber As Integer, ByRef vtAncestor As Variant) As Long

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center