Range Names - help

  • Thread starter Thread starter Glen Mettler
  • Start date Start date
G

Glen Mettler

Is it possible to programmatically delete a range name or series of range
names?

Glen
 
Hi Glen

from help

---
Use Names(index), where index is the name index number or defined name, to
return a single Name object.The following example deletes the name
"mySortRange" from the active workbook.

ActiveWorkbook.Names("mySortRange").Delete
--is this what you were after?CheersJulieD"Glen Mettler"
 
Perfect - thanks!

Glen

JulieD said:
Hi Glen

from help

---
Use Names(index), where index is the name index number or defined name, to
return a single Name object.The following example deletes the name
"mySortRange" from the active workbook.

ActiveWorkbook.Names("mySortRange").Delete
--is this what you were after?CheersJulieD"Glen Mettler"
 

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