Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default loading com addins with automation

Can anybody tell me how to load COM addins in Excel using automation scripts?
Several posts show how to load xla addins, but this solution does not work
with dll com addins.

set xlApp = CreateObject("Excel.Application")
xlApp.Application.visible = true
xlApp.workbooks.open "somefile.xls"
.... Code to load MyComAddin.dll

--
Mario Delamboy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default loading com addins with automation

COM addins are loaded by the application through registry setttings.
Just register your COM addin it will then be picked up by the app.BTW
registering com addins is not that trivial but see:

http://groups.google.com/groups?q=Re...gle.com&rnum=6


DM Unseen

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default loading com addins with automation

Check Application object's COMAddIns property, and the COMAddIn
object's Connect property. Don't know how far that will get you but...

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
Can anybody tell me how to load COM addins in Excel using automation scripts?
Several posts show how to load xla addins, but this solution does not work
with dll com addins.

set xlApp = CreateObject("Excel.Application")
xlApp.Application.visible = true
xlApp.workbooks.open "somefile.xls"
... Code to load MyComAddin.dll


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Addins-Slow loading of each individual Addin using Excel 2007 dplunkett Excel Discussion (Misc queries) 0 May 9th 09 07:16 AM
Excel Addins Not Loading on Start Tony Tam Excel Programming 4 June 10th 05 10:20 PM
May be Automation AddIn loading problem!! Abhijit Excel Programming 0 June 6th 05 06:45 PM
Addins not loading when opening from code Jack Excel Programming 3 February 15th 05 06:31 PM
Excel Automation - loading text files varsha kashyap Excel Programming 0 October 18th 04 10:13 AM


All times are GMT +1. The time now is 09:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"