How do you delete a named range?

W

Worksmart

How do you delete a named range? I've looked in Help, the Forum, can't find
anything on deleting a named range. Thanks in advance.
 
G

Gord Dibben

From Help on "named ranges"

Change or delete a defined name
On the Insert menu, point to Name, and then click Define.
In the Names in workbook list, click the name you want to change.
Do one of the following:
Change the name
Type the new name for the reference, and then click Add.
Click the original name, and then click Delete.
Change the cell, formula, or constant represented by a name
Change it in the Refers to box.

Delete the name
Click Delete.



Gord Dibben MS Excel MVP
 
R

Ron Coderre

Try this:

From the Excel main menu:
<insert><name><define>
Select the name to be deleted
Click the [delete] button

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
Z

zodiac711

You could also use the following macro to delete ALL named ranges in a workbook

Sub DeleteALLNamedRanges()
For Each dn In ActiveWorkbook.Names
dn.Delete
Next dn
End Sub
 
B

Bob Umlas

You can also do this from the immediate window:
ExecuteExcel4Macro "SUM(Delete.name(names()))"
 

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

Top