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

Copying Data without Leaving the Currently Selected Cell

Copying from one cell to another is easy when editing your worksheet. Doing the copying without selecting a cell other ...

Discover More

Using the EOMONTH Function

If you need to determine the date of the last day in a month, it's hard to beat the flexibility of the EOMONTH function. ...

Discover More

Searching Very Large Strings in a Macro

VBA provides a few different ways you can search for information within strings. This tip looks at the most efficient ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Using Multiple Print Settings

Do you have a worksheet from which you need to print only portions of the data available? There are two ways you can ...

Discover More

Using Custom Add-Ins

Once you've created your custom add-in, you need to know how you or other people can use it. Here are the simple steps to ...

Discover More

Excel Refuses to Put Page Breaks between Subtotal Groups

Page breaks not appearing where you expect them in your subtotaled data? It could be because of a setting you made in ...

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 three minus 2?

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.