Disappearing Addin List

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,345
I have workbook which automatacally 'installs' an addin, i.e. ticks the box.

When I open the workbook without Excel running, the code fails to install the addin. When I then use Tools > Addins, the panel of addins is completely blank.

I can only restore the addins list by closing Excel and reopening it.
 
Here is the reduced code which produces the problem.

Private Sub Workbook_Open()
Dim AddinTitle As String
AddinTitle = Sheets("PettyCash").Range("A1").Value
On Error GoTo NotReady

If AddIns(AddinTitle).Installed = True Then ' THESE 3 LINES CREATE THE PROBLEM
MsgBox "Yes"
End If

NotReady:
End Sub

I can open this workbook from Explorer with no difficulty. If I open it from a hyperlink in Word and Excel is not running, The workbook opens, but Tools>Addins shows no addins.

If I remove the three problem rows of code, this problem never occurs.
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,215,562
Messages
6,125,546
Members
449,237
Latest member
Chase S

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top