Deleting Names in Excel 2003

S

steve_nelson

How do I delete names (name ranges) all at once, rather then having to do it
individually
 
M

Michael Bednarek

How do I delete names (name ranges) all at once, rather then having to do it
individually

With VBA:

Dim myName As Name

For Each myName In Names
myName.Delete
Next myName

Qualify Name as required: Application, Workbook, Worksheet. Unqualified,
Names will refer to ActiveWorkbook. See Help: Names Property
(<mk:mad:MSITStore:C:\Program%20Files\Microsoft%20Office\OFFICE11\1033\VBAXL10.CHM::/html/xlproNames1.htm>).
 
Top