Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Delate Names

Hi

What code can be used to delate all names in a worksheet?

Thanks

Sham
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Delate Names

Shamsul;

Sub DeleteNames()
Dim MyName As Name
For Each MyName In ThisWorkbook.Names
MyName.Delete
Next
End Sub

Mark.

More Excel ? www.rosenkrantz.nl or
--------------------------------------------------------------------


"Shamsul Islam" wrote in message
...
Hi

What code can be used to delate all names in a worksheet?

Thanks

Sham



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Delate Names

Shamsul,

Some other options

1. Try Jan Karel Pieterse's Name Manager utility. It's a free add-in that
you can download he

http://www.bmsltd.co.uk/MVP/Default.htm

2. Tools Options Transition
Check Transition Navigation Keys

Now:
/RNR

Removes every single name in the workbook! But undo is not available here,
and apparently doesn't work in XL 2003, ,and you need to ensure that you do
toolsoptionstransitionslotus 123 help (not MS menus)

3. Manually one by one, but not a recommendation<g

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Mark Rosenkrantz" wrote in message
...
Shamsul;

Sub DeleteNames()
Dim MyName As Name
For Each MyName In ThisWorkbook.Names
MyName.Delete
Next
End Sub

Mark.

More Excel ? www.rosenkrantz.nl or
--------------------------------------------------------------------


"Shamsul Islam" wrote in message
...
Hi

What code can be used to delate all names in a worksheet?

Thanks

Sham





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
converting email address names in a range of cells to real names John Excel Worksheet Functions 1 May 19th 10 03:44 PM
Find Duplicate names and delate Find Duplicate names and delate Excel Discussion (Misc queries) 4 March 12th 10 02:08 PM
using the Excel generic worksheet names instead of user-given names in code Paul Excel Discussion (Misc queries) 5 June 26th 09 08:44 PM
Sorting and matching rows of names with Socials with master list and eliminating the extra names Giacomo Excel Worksheet Functions 1 March 10th 07 01:52 AM
Change names of files in a folder to match names in Excel Column saybut Excel Programming 4 February 9th 04 06:26 PM


All times are GMT +1. The time now is 02:00 PM.

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

About Us

"It's about Microsoft Excel"