Docs HotXLS

Count-property

Renvoie the number of defined names in the collection. Read only Integer

Syntaxe

property Count: Integer;

Exemple

This example deletes all the defined names from the Worksheet one

With Workbook.Sheets[1] do begin
  cnt := Names.Count;
  if cnt > 0 then
     for i := cnt downto 1 do Names[i].Delete;
end;

Voir aussi

IXLSName Interface
IXLSNames.Item propriété
IXLSWorkbook.Names propriété
TXLSWorksheet.Names propriété