When Calling HypExecuteMenu in VBA Functions sts Always Returns '-15'

(Doc ID 1953570.1)

Last updated on MARCH 27, 2015

Applies to:

Hyperion Essbase - Version and later
Information in this document applies to any platform.


When calling HypExecuteMenu, sts always returns '-15'.

Public Declare Function HypExecuteMenu Lib "HsAddin" (ByVal vtSheetName As Variant,ByValvtMenuName As Variant) As Long
Sub Example_ExecuteMenu()

sts = HypExecuteMenu(Empty, "Smartview->Refresh") 'returns 0

End Sub


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms