Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Jon, its just to remove the names and leave everthing else
intact. I'll get it a go Jon Peltier wrote: To remove the names, but leave the data intact: For Each nName In ActiveWorkbook.Names nName.Delete Next To clear the ranges of data but leave the names: For Each nName In ActiveWorkbook.Names On Error Resume Next nName.RefersToRange.ClearContents On Error Goto 0 Next - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Sean" wrote in message oups.com... Would anyone have some code that I could run to delete all named ranges on all woksheets within a file? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Delete blanks between a range and populate only the names inthe given range | Excel Discussion (Misc queries) | |||
How to delete a hundred range names at once? | Excel Worksheet Functions | |||
delete non-used range names | Excel Programming | |||
Delete Specific Range Names | Excel Programming | |||
How do I delete ExternalRata range names? | Excel Programming |