[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.INames.Clear

Clear Method

Clear()

Clears the IName collection.

Removes all defined names from this collection, including names in the current workbook or worksheet scope represented by this INames instance.

Declaration
void Clear()
Sub Clear()
Examples
worksheet.Range["A1"].Value = "North";
INames names = worksheet.Names;
names.Add("RegionName", "=Sheet1!$A$1");
names.Clear();