» Create an addin in Excel 97, 2000, 2002 using VBA in Microsoft Excel
VBA macro tip contributed by Erlandsen Data Consulting offering Microsoft Excel Application development, template customization, support and training solutions
CATEGORY - Cells, Ranges, Rows, and Columns in VBA
VERSION - All Microsoft Excel Versions
- Start the Visual Basic Editor by pressing Alt+F11.
-
Select Debug, Compile VBA projectname. In previous versions of Excel the VBA-code was automatically
compiled when you saved the addin. This is no longer true, you have to do it yourself before you save the addin. -
If you want to lock the project from viewing you can select Tools, Properties for VBA projectname.
In this dialog you activate Protection and check the option Lock project for viewing.
Fill in a password and click the OK-button. - Activate Excel by pressing Alt+F11.
-
Select File, Properties..., Summary and fill inn information for the fields Title and Comments.
The title will be the name that appears in the Add-Ins dialog (the dialog displaying available add-ins),
the comment will be the description that appears when you select the addin in the Add-Ins dialog.
Click the OK-button to close the Properties dialog. - Select File, Save as….
-
Change the option Filetype: to Microsoft Excel addin (*.xla) (the last choice in the dropdown).
The add-in must contain at least one worksheet if this option is to be displayed. - Click the Save-button to save the workbook as an addin.
You can convert a workbook to an addin by changing the property IsAddin to True for the ThisWorkbook-object.
This must be done from the Visual Basic Editor. When the property is changed you can save the workbook by
clicking on the Save-toolbarbutt
Book Store:
Recommended Books:
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Windows XP Annoyances
- Microsoft Windows XP Inside Out
- Microsoft Windows XP Step by Step (With CD-ROM)
- Real Estate Finance and Investments (Real Estate Finance and Investments, 11th Ed)
- Marketing Plan: A Handbook with Marketing Plan
Good tip
vaibhav sharma Posted on: 31-12-1969
the tip is good but i'm having an assignment related to the same problem. plz give me the result.


i have made a macro in a workbook..
and saved it as *.xla
it can be installed through tools > add-ins
BUT I need to have a button and assign that add-in to it
i want a button to automatically goto menubar whenever that addin is installed.
Can anyone help please !