#1   Report Post  
Old January 4th 08, 10:15 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Sep 2006
Posts: 50
Default name deletion

Hi all,
I want to delete lot of names from a sheet. is there an easy way via a macro
to delete the names rather than going and deleting them manually.

Thanks much,

RK

  #2   Report Post  
Old January 4th 08, 10:24 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 35,218
Default name deletion

Get 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

It'll make working with names much easier.

rk0909 wrote:

Hi all,
I want to delete lot of names from a sheet. is there an easy way via a macro
to delete the names rather than going and deleting them manually.

Thanks much,

RK


--

Dave Peterson
  #3   Report Post  
Old January 4th 08, 11:03 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 10,124
Default name deletion

Sub DeleteAllNames()
For Each N In sheet("sheetname").Names
N.Delete
Next N
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"rk0909" wrote in message
...
Hi all,
I want to delete lot of names from a sheet. is there an easy way via a
macro
to delete the names rather than going and deleting them manually.

Thanks much,

RK




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple row deletion lawson Excel Discussion (Misc queries) 3 October 17th 07 06:57 PM
Accidental Deletion Brian Frantz Setting up and Configuration of Excel 2 August 25th 06 08:51 AM
On deletion of rows Stephen Howe Excel Discussion (Misc queries) 2 October 7th 05 06:02 PM
Sheet deletion mitch Excel Discussion (Misc queries) 4 August 19th 05 12:10 AM
#REF! after cell deletion Colin G Eastwood Excel Discussion (Misc queries) 1 December 2nd 04 01:22 PM


All times are GMT +1. The time now is 06:57 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017