Returns an INames collection that represents all the defined names in the specified workbook.
[Visual Basic] Property ReadOnly Names As INames [C#] INames Names { get; } [C++] __property INames* get_Names(); [JScript] function get Names() : INames
INames collection.
This example creates a new defined name for the workbook.
[C#]
Workbook.Names.Add("MyName","=Sheet1!$A$2");
[Visual Basic]
Workbook.Names.Add("MyName","=Sheet1!$A$2")
[C++]
Workbook->Names->Add(S"MyName",S"=Sheet1!$A$2");
IWorkbook Interface | NativeExcel Namespace | INames Interface | IWorksheet.Names