Solved

Automation error with Excel

Posted on 1998-10-08
3
297 Views
Last Modified: 2008-01-16
I'm using VB5 and Excel 97 under NT 4 & OLE Automation (I'm using VB to populate cells on a worksheet), every thing works OK when the VB environment is running BUT I get Automation Error -214418107 (80010005) when I compile and run the EXE. I have tried putting MsgBox's in to trap where the error happens but it appears to be random.
The manuals don't seam to help and On Error fails to trap this error.
Can anyone help?
TIA
Matt
0
Comment
Question by:mbaker123
  • 2
3 Comments
 
LVL 3

Expert Comment

by:vmano
ID: 1438888
is your error code 214418107 (80010005)  or 2147418107 (80010005)??? please clarify...

vmano

0
 
LVL 3

Accepted Solution

by:
vmano earned 100 total points
ID: 1438889
assuming that your error number is 2147418107 (80010005), check out the MSDN articles Q.186063 and Q.176399.

let me know if this helps,
vmano
0
 

Author Comment

by:mbaker123
ID: 1438890
Cheers mate
I'll go have a look

Matt
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

726 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