Any Excel workbook can be converted to an add-in. The steps you need to follow to create an add-in are very precise, and may seem a bit overwhelming (particularly the first couple of times you do it). To create a protected add-in file, you need to do a little work in the VBA Editor and in Excel itself. First, here are the steps to follow to get the settings correct in the VBA Editor:
Figure 1. The Protection tab of the project's Properties dialog box.
Now it is time to do a little work in Excel. Follow these steps if you are using Excel 2010 or Excel 2013:
Figure 2. The Summary tab of the workbook's Properties dialog box.
The steps are slightly different in Excel 2007:
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8528) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Creating Add-Ins.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Depending on who you ask, Smart Tags can be really cool or really distracting. If you fall on the "cool" side, you may ...
Discover MoreCheck boxes, just like those used in Windows dialog boxes, can be a great addition to a worksheet. Here's how to add them ...
Discover MoreYou've turned on Highlight Changes, but how do you know what has been changed? This tip explains how Excel displays those ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-09-27 10:31:33
Bernard Liengme
Needs a bit of updating for Excel 2016
2016-06-07 16:55:49
farzad
Thanks you so much
2016-04-26 06:37:07
Steve
Hans,
I keep my addin file in a Dropbox folder which I can share with my work computers. I then point Excel addin manager to the shared folder - bingo the same addin on all the computers I use, home, work, mobile ....
If I then think of an amendment or addition, I can make it wherever I am working & save it back. The amendments are then available on all machines when Excel is next loaded.
2016-04-25 05:39:39
Hans Jensen:
Hans, save your macro file as an xlsm or xlsb file (xlsb is faster to load).
Make the file shared. Create this code in the Workbook_Open procedure:
ThisWorkbook.IsAddin= True
Create the following code in the Workbook_BeforeClose procedure:
With ThisWorkbook
.IsAddin = False
.Saved = True
.Close
End With
When the workbook is opened as an add-in it will be hidden for the user but all functionality will remain.
Now save or copy the workbook to a shared drive. Create a shortcut in every users XLSTART folder pointing to the file on the shared drive.
Next time the user start Excel your file will be loaded as an add-in.
You will now be able to maintain and debug your code in your loal copy of the shared file and overwrite the version on the shared drive when you want to publish changes.
2015-12-11 04:06:24
Hans Jensen
Since this page is apparently still read, I try with a question:
How do I manage a .xlam that I want a whole workgroup to be able to use? And I want to be able to maintain it (bug fixes and extentions). It seems to me, when you install an Add-In it is copied locally, so it seems not directly possible to maintain a "workgroup add-in"?
2015-09-02 06:20:51
Rod Grealish
Stuart Jackson:
Stuart, this message will probably not get through to you as you have decided not to return to the site.
I think your view is a bit over the top. You've condemned the whole ship because one of the cabins is not to your liking.
I find this a very useful and interesting site. I have no need to use most of the tips; some I like, some I don't, some I could do better myself. You can't always expect instant wisdom. You need to persevere.
2015-09-02 04:31:11
Stuart Jackson
Verging on pointless and very frustrating seeing as this thread tells you how to set the add-in up and then nothing; the point of an add-in in my mind is to have a macro to run against any workbook which can be fired from the toolbar and seeing as the 'firing' bit is missing off this thread I have a macro I can't use and will have to hunt elsewhere to find out how to set it up properly. a few extra notes on how to complete the job in full would have been expected. I will not be returning to this site.
2014-10-02 05:58:21
Kurukafa
Thanks you for this nice explanation. I was unable to find that add-in description is actually grabbed from the Comments field of the file. Fortunately I come across your page.
I also want to note that it is not possible to set the Publisher field of the add-in. It is always displayed as blank, unless your add-in is not an xlam file.
2014-08-06 11:21:19
Aldo
ADD-INs are one of the best tools available in MS Excel! I have created over the years many useful functions and macros for various tasks and requires. One in particular is a function that works with feet-inch measurements ie: 5'-4 3/4" converts to 64.75
I deal with a lot of field work measurements and is was always frustrating to do the conversions, so I created a function to do this for me and then saved it as in an add-in file. Now I have this function (among others now) available every time for any file. I can share with co-workers as well.
Add-ins are the best, and they are super easy to update as needed. I have over 20 custom functions I use on a regular bases!
Learn it, use it. It will greatly be worth it.
2014-07-01 08:11:29
rpurosky
Thanks, John, that's very clear.
2014-07-01 08:11:29
rpurosky
Thanks, John, that's very clear.
2014-06-30 20:10:31
johnjacobson
rpurosky:
one advantage of an add-in is it makes custom functions easier. If you want to use a custom function in a macro file, you have to have the file open and you have to preface the function name with the filename, like =personal.xlsm!BuildRange(). However if the custom function is in an add-in, it's always available and you don't have to type the filename, just =BuildRange().
2014-06-30 09:07:30
rpurosky
My main question is what is the purpose of creating an add-in? What can you do with an add-in that you can't with a macro or why would it be easier to use than a macro? Not seeing the "why" in this tip, just the "how".
(Jodi: I can see the graphics fine, so may be your browser settings.)
2014-06-30 08:26:24
Jodi
Figure images for the site do not appear even when selecting "show pictures" (rt click).. Any suggestions on how to get these to appear?
2014-06-28 10:59:19
pegstein
how does an add-in work with another worksheet? I want to create something that will automate formatting of data and worksheets. Is an add-in the right answer?
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2019 Sharon Parq Associates, Inc.
Comments