XLL+ Class Library (7.0)

CXllApp::GetInternational

Returns information about the current country and international settings.

static BOOL GetInternational(
   int index,
   CXlOper& xloResult
);

Parameters

index

A member of enumeration XlInternationalEnum (see XllPlus.h). You can find a description of the types of information available in the Excel VBA help for Application.International. Note that C++ values are 1 less than the values shown in the VBA documentation.

xloResult

If the method succeeds, the result will be placed in here. The result will be of various different types, depending on the value of index.

Return Value

Returns TRUE if the method succeeds, FALSE if it fails.

Remarks

This function can only be called from macro functions, or from worksheet functions that have been marked as "Defer recalculation". It will always fail if called from worksheet functions that have not been marked as "Defer recalculation".

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | International sample