TdxSpreadSheetDefinedName.IsCellReference(TRect,TdxSpreadSheetCustomView) Method
Identifies if the defined name refers to a cell or cell range.
Declaration
function IsCellReference(out AArea: TRect; out AView: TdxSpreadSheetCustomView): Boolean; overload; virtual;
Parameters
Name | Type |
---|---|
AArea | TRect |
AView | TdxSpreadSheetCustomView |
Returns
Type |
---|
Boolean |
Remarks
Both overloaded function variants return True if the defined name stores a reference to a cell or cell range in the opened spreadsheet document; otherwise – False. The second variant also returns the area occupied by a referenced cell range and the worksheet where it is located as the AArea and AView out parameters, respectively. You can call the second function variant instead of using the approach described in the How to Work with Defined Names topic.
See Also