Object Hierchy

  • Thread starter Thread starter Dan Scholler
  • Start date Start date
D

Dan Scholler

I have written a macro that opens up a specified .xls file
and runs functions on it using the object hierchy. How do
I open a specific Excel Add in for that file?
 
workbooks.Open Myaddin.xla

or use the addins collection

Sub LoadAddin()
Application.AddIns.Add FileName:="c:\data\myaddin.xla"
Application.AddIns("Myaddin").Installed = True
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

Back
Top