Hello,
we are using the PAx API in our VBA code. In some Excel files we make requests to the TM1 REST-API using the following code:
Reporting.GetConnection(sPAW_URL).Get("tm1/" & sDatabase & "/api/v1/" & endpoint & "?" & params)
This code works for every user of the Excel files but for one. For this particular user the Call fails with "Runtime Error 91 Object Variable or With block not set".
Otherwise everything works. the user can refresh the sheet or use Formulas like DBRW, DBSS, and calls to the PAx API like Reporting.RefreshSheet work perfectly fine.
We are stumped by this problem, as the addin appears to work and just fails to work for one particular user when doing REST-API calls using the PAx API.
I hope somebody here can help with this issue.
Best regards
Constantin
------------------------------
Constantin Budin
------------------------------
#PlanningAnalyticswithWatson