Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Creating Add-Ins.

Creating Add-Ins

Written by Allen Wyatt (last updated February 26, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


1

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:

  1. Load the workbook that is destined to become your add-in.
  2. Press Alt+F11. Excel displays the Visual Basic Editor.
  3. At the very top of the Project window, select the bold entry that declares the name of the VBA project that is open.
  4. Choose the Properties option from the Tools menu. This displays the Project Properties dialog box.
  5. Make sure the Protection tab is selected. (See Figure 1.)
  6. Figure 1. The Protection tab of the project�s Properties dialog box.

  7. Make sure the Lock Project For Viewing check box is selected.
  8. Enter a password in both fields at the bottom of the dialog box.
  9. Click on OK. The dialog box closes.
  10. Press Alt+Q. Excel close the Visual Basic Editor and returns to the Excel workbook.

Now it is time to do a little work in Excel. Follow these steps if you are using Excel 2010 or a later version:

  1. Display the File tab of the ribbon.
  2. Make sure the Info option is selected at the left side of the dialog box.
  3. Click the Properties link near the right side of the dialog box and then click Advanced Properties. Excel displays the Properties dialog box for your workbook.
  4. Make sure the Summary tab is displayed. (See Figure 2.)
  5. Figure 2. The Summary tab of the workbook�s Properties dialog box.

  6. Make sure the Title field is filled in. What you enter here will appear in the Add-Ins dialog box used by Excel.
  7. Make sure the Comments field is filled in. What you enter here will appear in the description area of the Add-Ins dialog box used by Excel.
  8. Click on the OK button.
  9. Press F12. Excel displays the Save As dialog box.
  10. Using the Save As Type pull-down list, specify a file type of Excel Add-In (*.xlam).
  11. Specify a name for your add-in file in the File Name field.
  12. Click on Save. Your add-in file is created.
  13. Close the workbook you just saved as an add-in.

The steps are slightly different in Excel 2007:

  1. Click the Office button, Prepare, and then Properties. Excel displays the Document Information Panel just below the ribbon and just above the worksheet.
  2. Make sure the Title field is filled in. What you enter here will appear in the Add-Ins dialog box used by Excel.
  3. Make sure the Comments field is filled in. What you enter here will appear in the description area of the Add-Ins dialog box used by Excel.
  4. Close the Document Information Panel.
  5. Press F12. Excel displays the Save As dialog box.
  6. Using the Save As Type pull-down list, specify a file type of Excel Add-In (*.xlam).
  7. Specify a name for your add-in file in the File Name field.
  8. Click on Save. Your add-in file is created.
  9. Close the workbook you just saved as an add-in.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8528) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Creating Add-Ins.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Setting Header/Footer Margins

Do you find that there is a lot of extra space around that data on your worksheet when it is printed? Changing the ...

Discover More

Using a Graphic for a Background

If you want to enhance the appearance of a worksheet, one way to do it is to add a graphic. Excel allows you to add one ...

Discover More

Pasting a Comment into Your Document

When developing a document, you may end up with all sorts of comments that you need to deal with. One common task is to ...

Discover More

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!

More ExcelTips (ribbon)

Is It Worth Converting Data to a Table?

Excel allows you to work with your data in many different ways. One way is to convert your data to a structured table. ...

Discover More

Fixed-Width Settings when Converting Text to Columns

The Convert Text to Columns capabilities of Excel are very helpful when pulling apart information. When working with ...

Discover More

Turning Off Track Changes without Unsharing

The Track Changes tool in Excel can be helpful, but it can also be aggravating because it doesn't allow you to use it on ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five less than 6?

2020-04-07 08:44:15

Richard Curtis

This is all interesting but why would I want or need to create an Add-In? If I open a blank workbook and list available Add-Ins, the first is Analysis ToolPak. There is a brief description but what does it do? How does it work?


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.