View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
DM Unseen DM Unseen is offline
external usenet poster
 
Posts: 233
Default Referencing a com addin from a .net application via ole automation

Luke,

you have a .NET c# app that launces/connects to Excel through (OLE)
Automation, and now want to launch a comm addin as well through the
..NET app?

The Excel.Applicatiob object has COmmaddins collection:

VB example:

Dim MyXLApp as Excel.Application
'.... connect to XL instance

'activates Registered COM addin:

MyXLApp.Commaddins("MyComProgID").Connect = True

Dm unseen