XLL+ Class Library (7.0)


Converts the top left corner of the reference to a string address

CString TopLeftToString(
   BOOL bA1 = FALSE,
   BOOL bLocalLanguage = FALSE
) const;



TRUE to have the address in A1 format; FALSE for R1C1 format.


TRUE to have the address in the local language; FALSE for English. This setting as no impact on A1-style addresses. R1C1 format addresses use different letters in different languages: thus the English address "R1C2" is written as "Z1S2" in German, if bLocalLanguage is TRUE.

Return Value

A string containing the address of the top left cell of the range.


Header: xllplus.h

See Also

CXlRef Class | CXlRef Methods