Excel 2002 - How to delete all defined names {references} in workbook

  • Thread starter Thread starter Frank Kabel
  • Start date Start date
Using VBA


For Each nme In ActiveWorkbook.Names
nme.Delete
Next nme

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Hello,

I've got a workbook that another person modified by copying and pasting data
from another worksheet. The problem is, they somehow created references in
the process. When you go to Insert --> Name --> Define there are hundreds of
Names defined in the workbook. The only way to remove these is select them
one by one and press delete.

Does anyone know of a faster way to accomplish this?

Thanks in advance,

Jason
 
Thanks!!

That worked perfectly.


Bob Phillips said:
Using VBA


For Each nme In ActiveWorkbook.Names
nme.Delete
Next nme

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

hundreds
 

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