Item Method (Names Collection) Example

This example deletes the name "mySortRange" from the active workbook.

ActiveWorkbook.Names.Item("mySortRange").Delete