XLL+ Class Library (6.3)

CXllApp::GetXlVersion

Return the Excel version number

static int GetXlVersion( );

Return Value

Excel's major version number as an integer.

Remarks

Since this function is static, it is not necessary to use an instance of CXllApp to invoke it. You can use code such as:

int version = CXllApp::GetXlVersion();

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods