CGXFormulaSheet::GetRangeName
virtual BOOL GetRangeName(LPCTSTR name, CGXRange& rg);
name
Points to the string with the range name
rg
A reference to CGXRange object where range will be stored.
Return Value
TRUE if a range with the given name was found; FALSE otherwise.
Remarks
Returns the associated range for a given range name.
Example:
SetRangeName(_T("number"), CGXRange(6,1,10,4));
CGXRange rg;
VERIFY(GetRangeName(_T("number"), rg));