Supports calls to Excel worksheet functions.
class CXlFuncs |
The CXlFuncs class contains only static methods. Each of these methods calls the corresponding Excel worksheet function.
Any of these functions may normally be called from worksheet functions.
All methods return a result code, which is zero if the function has succeeded, and non-zero if the function has failed for any reason. See Error codes for a list of return values.
Note that the results of some functions may still contain Excel error values, even if a zero result code is returned, and you should take care to test the type of these results where appropriate.
CXlFuncs only contains worksheet functions. If you want to call an Excel macro function, use the CXlMacros class.
The CXlFuncs class does not implement all Excel worksheet functions. If the function you want is not implemented, you can call it yourself via the CXlOper::Excel() method using the techniques described in Calling an Excel built-in function from your add-in.
Header: xlfuncs.h
CXlFuncs Methods | xlfuncs.h | CXlMacros object | CXllApp::Excel | CXlOper::Excel