bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Macros > Creating Add-Ins

Creating Add-Ins

Summary: Add-ins are special Excel programs that enable features or capabilities not in the original program. This tip explains how you can create your own custom add-ins from a regular workbook. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

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, follow these steps:

  1. Load the workbook that is destined to become your add-in.
  2. Start the Visual Basic Editor by choosing Macro from the Tools menu, then choosing 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. (Click here to see a related figure.)
  6. Make sure the Lock Project For Viewing check box is selected.
  7. Enter a password in both fields at the bottom of the dialog box.
  8. Click on OK. The dialog box closes.
  9. Close the Visual Basic Editor and return to the Excel workbook.
  10. Choose Properties from the File menu. This displays the Properties dialog box for your workbook.
  11. Make sure the Summary tab is displayed. (Click here to see a related figure.)
  12. Make sure the Title field is filled in. What you enter here will appear in the Add-Ins dialog box used by Excel.
  13. 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.
  14. Click on the OK button to close the dialog box.
  15. Choose Save As from the File menu. This displays the Save As dialog box.
  16. Using the Save As Type pull-down list, specify a file type of Microsoft Excel Add-In (*.xla).
  17. Specify a name for your add-in file in the File Name field.
  18. Click on Save. Your add-in file is created.
  19. Close the workbook you just saved as an add-in.

Tip #2927 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003


Got the Time? If you work with either times or dates in Excel, you really need ExcelTips: Times and Dates. Everything you need to know about slicing, dicing, and generally working with times and dates.

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)