TM1OLAP Provider can not be found by Excel
Posted: Tue Nov 29, 2011 3:53 am
Hi,
Years ago, I could write MDX query from VBA for Excel report from TM1.
When I now try to replicate the codes for current client, it shrows out the message saying "Provider cannot be found".
I checked the connection inside TM1 explorer in TI pad, the connection works. So the TM1 OLEDB provider is installed correctly as TI can find it.
In VBA, Microsoft ADO Ext for DDL and Security has been referenced at \Program files\....\ado\msado.dll
I wonder if it is this dll file has not been updated during TM1 installation.
How can we handle this so let VBA to find out TM1OLAP provider, or some work around can be used?
The codes I used briefly are:
Dim db As ADODB.Connection
Set db = New ADODB.Connection
sConnection = "DATA SOURCE=" & sServer & ";PROVIDER=TM1OLAP"
db.Open sConnection, sUser, sPass
db.Close
Can somebody help me out?
Thanks in advance
Jim
Years ago, I could write MDX query from VBA for Excel report from TM1.
When I now try to replicate the codes for current client, it shrows out the message saying "Provider cannot be found".
I checked the connection inside TM1 explorer in TI pad, the connection works. So the TM1 OLEDB provider is installed correctly as TI can find it.
In VBA, Microsoft ADO Ext for DDL and Security has been referenced at \Program files\....\ado\msado.dll
I wonder if it is this dll file has not been updated during TM1 installation.
How can we handle this so let VBA to find out TM1OLAP provider, or some work around can be used?
The codes I used briefly are:
Dim db As ADODB.Connection
Set db = New ADODB.Connection
sConnection = "DATA SOURCE=" & sServer & ";PROVIDER=TM1OLAP"
db.Open sConnection, sUser, sPass
db.Close
Can somebody help me out?
Thanks in advance
Jim