Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How could I delete all Range Names in the activework book?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This macro should do that...
Sub DeleteAllNamesInActiveWorkbook() Dim N As Name For Each N In ActiveWorkbook.Names N.Delete Next End Sub -- Rick (MVP - Excel) "Seanie" wrote in message ... How could I delete all Range Names in the activework book? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think I like Bob's macro better than mine so I would use it instead.
-- Rick (MVP - Excel) "Rick Rothstein" wrote in message ... This macro should do that... Sub DeleteAllNamesInActiveWorkbook() Dim N As Name For Each N In ActiveWorkbook.Names N.Delete Next End Sub -- Rick (MVP - Excel) "Seanie" wrote in message ... How could I delete all Range Names in the activework book? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Guys
|
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub DeleteNames()
Dim nme As Name For Each nme In ActiveWorkbook.Names If nme.Name Like "*_FilterDatabase" Or _ nme.Name Like "*Print_Area" Or _ nme.Name Like "*Print_Titles" Or _ nme.Name Like "*wvu.*" Or _ nme.Name Like "*wrn.*" Or _ nme.Name Like "*!Criteria" Then Else nme.Delete End If Next nme End Sub -- __________________________________ HTH Bob "Seanie" wrote in message ... How could I delete all Range Names in the activework book? |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'd get a copy of Jan Karel Pieterse's (with Charles Williams and Matthew
Henson) Name Manager: You can find it at: NameManager.Zip from http://www.oaltd.co.uk/mvp Seanie wrote: How could I delete all Range Names in the activework book? -- Dave Peterson |
Reply |
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) | |||
Delete all Range Names Except for 1 Q | Excel Programming | |||
delete non-used range names | Excel Programming | |||
not delete worksheets from names in a range | Excel Discussion (Misc queries) | |||
How do I delete ExternalRata range names? | Excel Programming |