HotXLS Docs

Name property

Returns or sets the name of the defined name. Read/write WideString.

Syntax

property Name: WideString;

Example

This example renames first defined name in Worksheet one.

With Workbook.Worksheets[1].Names do begin
   if Count > 0 then begin
      Item[1].Name := 'MyNewName';
   end;
end;

See also

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