XLL+ Class Library

CXlOper::GetLongString

Read a long string (of up to 1024 characters) from a single cell

[C++]
BOOL GetLongString(
   CString& strText
) const;

Parameters

strText

If the function succeeds, this will contain the entire string contained in the target cell.

Return value

Returns TRUE if the function was successful, FALSE if it failed. The function can fail if the CXlOper does not contain a reference to a single cell, or if it cannot be run in Excel at this time.

Remarks

This function retrieves the entire string contained in a cell, even if the string contains more than 255 characters. The calling object must contain a reference to a single cell.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::Coerce()