HotXLS Docs

RefersToRange property

Returns the range referred to by the name. Read only IXLSRange.

Syntax

property RefersToRange: IXLSRange;

Example

This example sets the font to bold for the range refered to by 'MyName' defined name.

book.Names['MyName'].RefersToRange.Font.Bold := true;

See also

IXLSName Interface
IXLSName.RefersTo property
IXLSNames Interface
IXLSWorkbook.Names property
IXLSWorksheet.Names property