Windows Oracle Data Access Components (MOSC)

MOSC Banner

Open Oracle Database in Excel

edited Jan 4, 2012 7:51PM in Windows Oracle Data Access Components (MOSC) 2 commentsAnswered
 December 23, 2011 10:36 AM 
 

 I am using the following Excel subroutine to open and read an Oracle database table. It had worked fine for over a year until my PC crashed and I had to use a new PC. Now it works only the first time through and gives me the error message, "Error 440 - Unable to make connection, ORA-12154: TNS:could not resolve service name". The subroutine works fine on all the other PCs that I tested. The TNSnames.ORA file seems to be OK and is used by other applications.

Dim objSession As Object
Dim objDatabase As Object

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center