Excel: Cell Naming Bulk Delete

  • Thread starter Thread starter Grant
  • Start date Start date
G

Grant

Excel 2003: Under Insert --> Name. Often times I have excel files with
several hundered named cells or named ranges. I would like to bulk delete
them, instead of, under the "define" screen, using arrow + Alt D, repeatedly.
Thank you for your help.
 
Hi,

Right click any sheet tab, view code and paste this in and run it

Sub standard()
Dim wname As Name
For Each wname In ActiveWorkbook.Names
wname.Delete
Next
End Sub

Mike
 

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