Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Unable to get the Add propert of the addin class

I am trying to uninstall an old addin and install teh new version by having
the user open a workbook. The code I am using is as follows:

Sub Install_Grid_addin()

Dim oAddin As Object

If AddIns("Grid_Addin").Installed = True Then
AddIns("Grid_Addin").Installed = False
End If

Set oAddin = AddIns.Add("\\networkpathtofile\Grid_addin.xla", True)
oAddin.Installed = True

MsgBox "Installed!", vbExclamation

End Sub

It continuously generates a "Unable to get the Add property of the addins
class."

What might be the error or is there a better way?

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
Unable to set the Values propert of series class smudge75 Excel Programming 0 August 16th 06 03:00 PM
Unable to set the locked propert bsherwood[_2_] Excel Programming 0 June 28th 06 08:18 PM
More chart problem Excel 97 - unable to set propert of series class Karoo News[_2_] Excel Programming 1 February 8th 06 11:38 AM
Unable to set installed property of addin polandjc Excel Programming 6 September 15th 05 02:29 PM
Accessing AddIn Class Modules from Client Worksheet Mark D'Agosta Excel Programming 0 October 9th 03 04:43 PM


All times are GMT +1. The time now is 08:04 AM.

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"