You are here: Office-Outlook.com  / Outlook Forum

Start Excel from another program / command line throws exception

Home » Outlook addins and plugins development » Developer Outlook add-ins
Start Excel from another program / command line throws exception [message #257815] Tue, 11 December 2007 10:21
XL-Dennis
Messages: 518
Registered: August 2006
Senior Member
Hi,

I got a managed COM add-in for Excel which is available in the VBE when it's
loaded. Everything works as expected when Excel is loaded the normal way. But
when a new instance of Excel is created from another program or when it's
started with the Command line the following exception is throwned:

System.Runtime.InteropServices.COMException(0x800A03EC): Exception from
HRESULT: 0x800A03EC at Excel._Application.get_VBE() at
NETColLibrary.AddinModule.Add_Menu_Items()

Can someone shed some lights over this issue and also guide me how to solve
it?

---------------
With kind regards,
Dennis
Weekly Blog .NET & Excel: http://xldennis.wordpress.com/
My English site: http://www.excelkb.com/default.aspx
My Swedish site: http://www.xldennis.com/
Previous Topic:XP Themes: Listview images disappear
Next Topic:Problems with Reply() in Outlook 2007 Add-in
Goto Forum: