XLL+ Class Library

CXlRef::ToString

Returns the string address of the reference

[C++]
CString ToString(
   BOOL bA1 = FALSE,
   BOOL bLocalLanguage = FALSE
) const;

Parameters

bA1

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

bLocalLanguage

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 CXlRef.

Example

MyAddress Example

Requirements

Header: xllplus.h

See Also

CXlRef Class | CXlRef Methods