Deleting name all at once

P

Pete_UK

Here's a simple macro to do it:

Sub remove_names()
'delete named ranges
For Each nme In ActiveWorkbook.Names
nme.Delete
Next nme
End Sub

Hope this helps.

Pete
 
D

Dave Peterson

There are names that excel creates and uses (and are usually hidden).

You may not want to remove all the defined names.

Get Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name
Manager:

You can find it at:
NameManager.Zip from http://www.oaltd.co.uk/mvp

It'll make deleting names easier and safer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Conflict with valid range reference error 1
Name conflict 3
Reading tabs name 1
Reading tabs names 2
Not Resizable textbox 1
Excel Query 2
Delete unnecessary Named Ranges 1
Assigning a currency symbol on the fly 13

Top