XLL+ Class Library

CXlRef::FromString

Reads a string address into the reference

[C++]
BOOL FromString(
   const char* psz,
   BOOL bLocalLanguage = FALSE
);

Parameters

psz

The string address of a cell or a range.

bLocalLanguage

TRUE if the address is 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, then the local letters are expected.

Return value

TRUE if the string address is valid; FALSE otherwise.

Remarks

This function translates the cell address given in the parameter to a range.

Requirements

Header: xllplus.h

See Also

CXlRef Class | CXlRef Methods