Solved

2147024895 Automation error

Posted on 2000-03-28
2
582 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

821 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