XLL+ Class Library (6.3)

CXllApp::XlVersion

Return the Excel version number

static double XlVersion( );

Return Value

Excel's major and minor version numbers as the integer and fractional parts of a double precision floating point number e.g. 5.0 or 4.1.

Remarks

Since this function is static, it is not necessary to use an instance of CXllApp to invoke it. It is not therefore necessary to fix the MFC CWinApp instance using the XLL_FIX_STATE macro: you can use code such as:

dVersion = CXllApp::XlVersion();

NoteNote:

This method is deprecated. Use GetXlVersion instead.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods