Automatic install of Add-in

G

Guest

I ahve been trying to get the correct code for automatic installation of an
add-in. I cannot use 3rd party software so I have to write it myself. I am
basically going to tell my users to put the file in their C drive and click
on the .xla I keep having the 'unable to set add property of addins' error
for the following code

Dim aiUseful As AddIn

Set aiUseful = AddIns.Add("c:\Useful Tools.xla")
aiUseful.Installed = True

I checked spelling and made sure I could install this manually, so any ideas
why it won't let me add this programatically to the add-in list?

Also I could not get an excel file to save as an .xla file that excel would
then recognize. Any help with that? Thanks all!
 

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