HypRetrieveRange -> crashes Excel
Hello,
I'm working in Smartview 11.1.2.5.210.
I developped an application with API of Smartview in Excel.
All is fine till the retrieve.
As soon as I did a retrieve, Excel crashes.
My code
'Check connection exists.
boolCreatedConnection = HypConnectionExists("<CONNECTION_NAME>")
If Not boolCreatedConnection Then
lStatus = HypCreateConnection(sSheetname, m_sUserID, m_sPassword, "Essbase", "https://<SERVERNAME:<PORT>/aps/APS", "EssbaseCluster-1", <APPLICATION_NAME>, <DATABASENAME>, <CONNECTION_NAME>, "Dynamic_Connection")
End If
'Connect.
lStatus = HypConnect(sSheetname, m_sUserID, m_sPassword, <CONNECTION_NAME>)
'Retrieve.
lStatus = HypRetrieveRange(sSheetname, Sheet2.Range("rngTRetrieve"), <CONNECTION_NAME>)
Any idea ??
Thanks in advance
Best Regards
Benjamin