Adds an EXCEL add-in to the list of add-ins (File, Options, Add-ins, Excel add-ins, Go). The add-in is also activated.
An add-in is an add-on program that adds custom commands or features to Microsoft EXCEL.
An Excel add-in is in .xla format (2003 compatibility mode) or .xlam.
Syntax
CHGVAR |
VAR(&CMD) VALUE('XLADDINS') |
CHGVAR |
VAR(&PARM1) VALUE('Add-in') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
Parameters
Parameters |
|
Parm1 |
Full path to add-in to install. |
Parm2 |
|
Note
XLADDINS can be used to add a template that contains macros and make them available.
Example
Loading the add-in provided with Launcher to create a custom menu with Launcher (XLMENU command):
CHGVAR |
VAR(&CMD) VALUE('XLADDINS') |
CHGVAR |
VAR(&PARM1) VALUE('%LNCDIR%\LNCEXCELADDIN.XLA') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
See also
• XLMENU
• XLENAADD
• XLDISADD