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

Repeating the First Column of a Table

Need the first column of a table to be repeated on multiple pages? You can't do it automatically in Word, but you can use ...

Discover More

Line Breaks After a Slash

Some writers use the slash to combine words and as shorthand to signify "or" or "and." This, of course, makes for some ...

Discover More

Protecting Print Settings

Need to have your print settings always be a certain way? Tired of resetting the settings after others use the workbook ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Turning Off Speech Capabilities

Excel can talk to you, reading back whatever you enter into a cell. If you want to turn this capability off, you'll want ...

Discover More

Leaving Trace Precedents Turned On

The Trace Precedents auditing tool can be quite helpful in seeing which cells "feed into" a particular formula. The ...

Discover More

Understanding Auditing

Excel provides some great tools that can help you see the relationships between the formulas in your worksheets. These ...

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 two more than 9?

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.