Excel to oracle 9i automation error cannot find specific module

I am trying to connect to an oracle 11i database from an excel 2007 spreadsheet.  
I left out a lot of code but the message is get is :

 Run-Time error '-2147024770(8007007e)'
Automation error
The specified module could not be found

My code errors out when it gets to this part

Public oSession As Object

Sub Oracle_Logon()
    Set oSession = CreateObject("OracleInProcServer.XOraSession") ' errors out when it gets to this line
End Sub
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Could you perhaps tell us what you are trying to achieve?
If you need to update drecords in an Oracle table, you can use ADO to do so.
tentavariousAuthor Commented:
I need to pull records from oracle into an excel sheet.  I didnt think i needed to include all the code, because i cant even get the connection started.  I have a select query i need to run but before i can do that i need to make the connection   Set oSession = CreateObject("OracleInProcServer.XOraSession")  does not work,  I get an error saying it cant find a specific module.
For that you don't need any VBA. Have a look at Data, Get External Data, New Database Query. If you can't manage to get your data from there, I strongly doubt if you can using the VBA route.
tentavariousAuthor Commented:
I found the problem it was my oracle client install, i was missing some providers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.