View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Mark Ivey[_2_] Mark Ivey[_2_] is offline
external usenet poster
 
Posts: 171
Default Error: Exception from HRESULT: 0x800A03EC

You might want to see if there is any instance of Excel already running
before your code gets to this part and issue a prompt for the user to close
it down before proceeding Would this suffice?

Mark

"Steve C" wrote in message
...
Mark,

Thank you for your response. After trying the settings suggested, I'm
still
getting the same error. From what I've been reading on this topic, it may
be
related to ACT! trying to open a separate instance of the Excel
application.
Do you know of any means to cause this not to happen when Excel is
launched
by ACT!?


-- Steve C


"Mark Ivey" wrote:

See if this helps...

http://support.microsoft.com/kb/282830/

Programmatic access to Office VBA project is denied

SYMPTOMS
Code that is written to automate an Office application and
programmatically
manipulate the Microsoft Visual Basic for Applications (VBA) environment
and
object model may fail on Office with one of the following error messages:

From Visual Basic or VBA:
HRESULT = 0x800A17B4 (-2146822220) "Programmatic Access to Visual Basic
Project is not trusted"
The same code works without error on computers with Office 97 and Office
2000.


Mark Ivey