XLL+ Class Library

::XllGetExcelCountryCode

Returns the country code of Excel

[C++]
int XllGetExcelCountryCode();

Return value

Returns the Excel version's country code. This normally corresponds to the international telephone dialling code for the country.

Remarks

This function calls CXllApp::GetInternational(), and looks up XlInternationalCountryCode.

Requirements

Header: xllres.h

See Also

Global resource functions