XLL+ Class Library

CXlMacros::Caller

Returns information about the cell, range of cells, command on a menu, tool on a toolbar, or object that called the macro that is currently running

[C++]
static int Caller(
   CXlOper& xloRef
);

Parameters

xloRef

A reference to a CXlOper that will describe the caller if the function succeeds.

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