Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Insert name - delete all

Hi everybody
ctrl+shift+F3 (insert|name|create) will allow the user to create names in
the selected range at once.
1) Then how to delete all the named ranges at once?
2) How to edit the named ranges (data range) at once?
Thanks to you all in advance
Regards
Sreedahr


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Insert name - delete all

Look at:

Sub DeleteNames()
Dim nme As Name
For Each nme In ActiveWorkbook.Names
nme.Delete
Next nme
End Sub

Just be careful about other Names, like printrange, etc.
--
Gary''s Student - gsnu200781


"yshridhar" wrote:

Hi everybody
ctrl+shift+F3 (insert|name|create) will allow the user to create names in
the selected range at once.
1) Then how to delete all the named ranges at once?
2) How to edit the named ranges (data range) at once?
Thanks to you all in advance
Regards
Sreedahr


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Insert name - delete all

Thanks for your macro. Is there any shortcut or submenu for it.
regards
Sreedhar

"Gary''s Student" wrote:

Look at:

Sub DeleteNames()
Dim nme As Name
For Each nme In ActiveWorkbook.Names
nme.Delete
Next nme
End Sub

Just be careful about other Names, like printrange, etc.
--
Gary''s Student - gsnu200781


"yshridhar" wrote:

Hi everybody
ctrl+shift+F3 (insert|name|create) will allow the user to create names in
the selected range at once.
1) Then how to delete all the named ranges at once?
2) How to edit the named ranges (data range) at once?
Thanks to you all in advance
Regards
Sreedahr


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Insert name - delete all

Once you have entered the macro, go back to the Excel window and touch

ALT-F8

select the macro, touch the Options button and assign a shortcut key (i
usually use CNTRL-e)


--
Gary''s Student - gsnu200781


"yshridhar" wrote:

Thanks for your macro. Is there any shortcut or submenu for it.
regards
Sreedhar

"Gary''s Student" wrote:

Look at:

Sub DeleteNames()
Dim nme As Name
For Each nme In ActiveWorkbook.Names
nme.Delete
Next nme
End Sub

Just be careful about other Names, like printrange, etc.
--
Gary''s Student - gsnu200781


"yshridhar" wrote:

Hi everybody
ctrl+shift+F3 (insert|name|create) will allow the user to create names in
the selected range at once.
1) Then how to delete all the named ranges at once?
2) How to edit the named ranges (data range) at once?
Thanks to you all in advance
Regards
Sreedahr


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
How to code to insert / delete any worksheet? Eric Excel Worksheet Functions 1 March 2nd 08 10:02 PM
cut and delete a row then insert and copy lmch New Users to Excel 1 October 10th 07 11:38 AM
Macro auto insert/delete Eric Excel Discussion (Misc queries) 3 June 12th 07 09:09 PM
delete every X row, insert everyY row [email protected] Excel Discussion (Misc queries) 2 June 4th 07 04:34 PM
can't insert, delete or move pictures parker Excel Discussion (Misc queries) 1 February 18th 05 01:03 AM


All times are GMT +1. The time now is 02:59 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"