XLL+ Class Library (7.0)

CXlMacros::AddinManager

Adds or removes an add-in from the working set

static int AddinManager(
   unsigned short operation_num,
   LPCTSTR addinname_text,
   bool copy_logical = false
);

Parameters

operation_num

Operation_num determines the operation that the add-in manager will perform.

addinname_text

Addinname_text specifies the name or file name of the add-in.

copy_logical

Copy_logical specifies whether the add-in should be copied to the library directory.

Return Value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods