Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Unload a COMaddin

Is there any way to use VBA to programatically unload or at least
change the load behavior of a COM Addin?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unload a COMaddin


To unload a COM add-in :
AddIns("Analysis ToolPak").Installed = False

You cannot change its behavior because it is compiled. You would hav
to change the source code and recompile it

--
raypayett

-----------------------------------------------------------------------
raypayette's Profile: http://www.excelforum.com/member.php...fo&userid=2956
View this thread: http://www.excelforum.com/showthread.php?threadid=57051

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Unload a COMaddin

maybe you can use something like:

Option Explicit
Sub testme()
Dim iCtr As Long

With Application.COMAddIns
For iCtr = 1 To .Count
With .Item(iCtr)
MsgBox .Description & vbLf & .progID & vbLF & .GUID
End With
Next iCtr
End With
End Sub

To find the name of the COM Addin you want and then turn it off with:

Application.COMAddIns(whateverprogidyouneed).Conne ct = False

wrote:

Is there any way to use VBA to programatically unload or at least
change the load behavior of a COM Addin?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Unload a COMaddin


Dave Peterson wrote:
maybe you can use something like:

Option Explicit
Sub testme()
Dim iCtr As Long

With Application.COMAddIns
For iCtr = 1 To .Count
With .Item(iCtr)
MsgBox .Description & vbLf & .progID & vbLF & .GUID
End With
Next iCtr
End With
End Sub

To find the name of the COM Addin you want and then turn it off with:

Application.COMAddIns(whateverprogidyouneed).Conne ct = False

wrote:

Is there any way to use VBA to programatically unload or at least
change the load behavior of a COM Addin?


--

Dave Peterson


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Unload a COMaddin


Dave Peterson wrote:
maybe you can use something like:

Option Explicit
Sub testme()
Dim iCtr As Long

With Application.COMAddIns
For iCtr = 1 To .Count
With .Item(iCtr)
MsgBox .Description & vbLf & .progID & vbLF & .GUID
End With
Next iCtr
End With
End Sub

To find the name of the COM Addin you want and then turn it off with:

Application.COMAddIns(whateverprogidyouneed).Conne ct = False

wrote:

Is there any way to use VBA to programatically unload or at least
change the load behavior of a COM Addin?


--

Dave Peterson


Thanks Dave. That's exactly what I was looking for.

Ric

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
Unload all addins in VBA arne Excel Programming 8 January 27th 05 06:53 PM
Unload the form on esc key Papou Excel Programming 0 August 10th 04 05:15 PM
form won't unload inquirer Excel Programming 1 May 26th 04 09:55 AM
XLA Unload problem Von Shean Excel Programming 1 January 10th 04 08:24 PM
Unload Me Chip Pearson Excel Programming 0 September 5th 03 12:56 AM


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

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

About Us

"It's about Microsoft Excel"