|
Microsoft Office Application Development
|
|
Creating an add-in from an Excel macro. Introduction 1 2 3 4 5 6 7 8 9 10 ConclusionUse A Workbook Or An Add-inBesides personal.xls/personal.xlsb, other workbooks may be placed in the XLSTART folder. All files placed in this location will be opened by Excel automatically and macro's of files placed in this special folder usually are enabled by default. One could therefore place the new macro workbook in that folder to ensure the macros are available to us in each Excel session. There is one disadvantage however. As soon as other files than personal.xls are placed in that location, Excel will no longer open a blank workbook when you start it. The alternative method to make the code available to each session is by creating an add-in from the macro workbook. add-ins are available through Excel's Tools, add-ins menu. An add-in is nothing more than a normal workbook, with two special
characteristics: Whether an add-in or a normal workbook is to be preferred, depends on the
purpose of the utility. Saving a workbook as an add-inCreating an add-in is a fairly simple process, involving these simple steps:
Save-As Dialog with add-in selected
It is to be advised to do future editing work in the source workbook, rather than in the add-in itself. Some Excel versions will not reliably save an add-in from the Visual Basic Editor.
| ||||||||||||||||||||||||
|
Use the contact page to issue
questions or comments about this website. |