Hi,
I have written excel macro to connect Oracle Database to get the data. It is perfectly working fine.
I have tried below connection strings.
1. con.Open ("User ID=xxx;Password=yyy;Data Source=zz;Provider=oraOLEDB.Oracle")
2.
strCon = "Driver={Microsoft ODBC for Oracle}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _
"(ADDRESS=(PROTOCOL=TCP)" & _
"(HOST=<servername>)(PORT=pno))" & _
"(CONNECT_DATA=(SID=sid))); uid=xxx; pwd=yyy;"
con.Open (strCon)
When I copy this excel file in end user machine it is throwing below exception:
Run-time error '3706':
Provider cannot be found. It may not be properly installed.
So, an end user must have the "Oracle Client" in his machine to run this macro on his machine? or is there any way we can connect to oracle database from Excel without installing oracle client?
Thanks,
Suman