Solved

2147024895 Automation error

Posted on 2000-03-28
2
577 Views
Last Modified: 2012-05-04
I am working with a program that copies data from Oracle Database and then populates a spreadsheet in Excel. The program has always worked and still works except on one computer. The program will not open excel and I get error #2147024895 Automation error. Does anybody have any suggestions as to what is causing this error? The only other time I've seen this error with our program was on a users computer who was using a database add-in named Hyperion. I've checked this user's Excel setup, and there aren't any add-ins being used that aren't being used on computers not recieving the error.
0
Comment
Question by:darrel
2 Comments
 

Accepted Solution

by:
BHimmerick earned 150 total points
ID: 2664913
Are you using Early binding? If so, you may want to check the version of excel on that machine and maybe even what type library is installed on that machine.  If this doesn't help try using late binding. ie:  Dim objExcel as object,  Set objExcel = CreateObject("Excel.Application")
0
 

Author Comment

by:darrel
ID: 2674356
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA: Add rows to listbox based on criteria 7 74
VBS file using code from 2nd file (txt or vbs) 4 31
Run code from text file in vb 1 56
How does CurrentUser work? 10 31
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now