Deletion of Range Names

  • Thread starter Thread starter mzitzow
  • Start date Start date
M

mzitzow

There are some mystery named ranges in my workbook I want to kill.

However, they have non-alph/numberic characters in their name and won'
die.
The bad characters are square boxes: 

I have also tried deleting them through VB:
On Error Resume Next
Set nms = ActiveWorkbook.Names
For x = 1 To nms.Count
Debug.Print nms(x).Name
nms(x).Delete
Next x

But to no avail. Any ideas??
Thanks,
Mar
 
[QUOTE=""Karl said:
There are some mystery named ranges in my workbook I want to kill.

However, they have non-alph/numberic characters in their name and won't
die.
The bad characters are square boxes: 

I have also tried deleting them through VB:
On Error Resume Next
Set nms = ActiveWorkbook.Names
For x = 1 To nms.Count
Debug.Print nms(x).Name
nms(x).Delete
Next x

But to no avail. Any ideas??
[/QUOTE]
INSERT - NAMES - DEFINE should have a list of all of them delete the ones
you don't want

Anyone else find it odd that to delete names you have to insert them ? ...
and (AFAIK) you can only do this one at a time ?



Bruce

------------------------------
Health nuts are going to feel stupid someday, lying in hospitals dying of nothing.

-Redd Foxx


Caution ===== followups may have been changed to relevant groups
(if there were any)
 

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

Back
Top