I'm getting an error when I run my VBA code in Excel:
"Runtime error 3706: Provider cannot be found. It may not be properly installed".
Code: Select all
Set cn = CreateObject("adodb.connection")
strConnection = "Provider=TM1OLAP;Location=computername;Data Source=servername;"
cn.Open strConnection, "admin", "password"
Any help would be most appreciated.
Regards.