Data source types: Data source types: Essbase, Planning, Financial Management, Hyperion Enterprise
HypDisplayToLinkView() displays Office documents to Word or PowerPoint; or displays a grid to Excel.
Note: | The link action is performed as per the latest content of the dynamic link query. |
Note: | This function is used specifically with dynamic link views, as described in Dynamic Link Views |
HypDisplayToLinkView (vtDocumentType, vtDocumentPath)
ByVal vtDocumentType As Variant
vtDocumentPath As Variant
vtDocumentType: Indicates the destination for the link view. Valid values:
EXCEL_APP
WORD_APP
PPOINT_APP
vtDocumentPath: The path to the document. Required only in case of WORD_APP or PPOINT_APP.
Declare Function HypDisplayToLinkView Lib "HsAddin" (ByVal vtDocumentType As Variant, ByVal vtDocumentPath As Variant) As Long
Sub Macro()
Dim vtGrid as Variant
Sts = HypConnect(Empty, "system", "password", "MyDemoBasic")
Sts = HypRetrieve(Empty)
Range (“B2”).Select
Sts = HypGetSourceGrid (Empty, vtGrid)
Sts = HypSetColItems (1, "Market", "East", "West", "South", "Central",
"Market")
Sts = HypDisplayToLinkView ("EXCEL_APP", "")
End sub