load .xla addin's when open Excel sheet.

L

Lars Schouw

Do you know how to load .xla addins when I open an Excel sheet and
there by avoiding references to addins from my Excel sheet?

Lars
 
H

Halim

place this code behind Sheet :
Private Sub Worksheet_Activate()
AddIns("addinsample").Installed = True
End Sub

Private Sub Worksheet_Deactivate()
AddIns("addinsample").Installed = False
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top