Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default How do you delet all the defined range names in a excel file

I working with a file that has around 400 defined ranges and I would like to
know if there is a vba command that delete all the ranges quiclkly

Thanks

--
Helping Is always a good thing
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default How do you delet all the defined range names in a excel file

Hi

consider

Dim n As Name

For Each n In ThisWorkbook.Names
n.Delete
Next

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"QuietMan" wrote:

I working with a file that has around 400 defined ranges and I would like to
know if there is a vba command that delete all the ranges quiclkly

Thanks

--
Helping Is always a good thing

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default How do you delet all the defined range names in a excel file

Thanks,
--
Helping Is always a good thing


"Wigi" wrote:

Hi

consider

Dim n As Name

For Each n In ThisWorkbook.Names
n.Delete
Next

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"QuietMan" wrote:

I working with a file that has around 400 defined ranges and I would like to
know if there is a vba command that delete all the ranges quiclkly

Thanks

--
Helping Is always a good thing

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
Defined Range Names in formulas Darby Excel Discussion (Misc queries) 2 October 13th 09 04:41 PM
save worksheet as another file, but have all defined names copied Chris Excel Discussion (Misc queries) 1 January 10th 08 01:26 PM
Defining a range using defined names Chris Wilkinson Excel Programming 4 May 17th 07 02:21 PM
Rename Several Defined Range Names with Macro ExcelUser777 Excel Programming 2 January 2nd 07 01:51 PM
Listing or Changing all Defined Range Names (using VBA) Post Tenebras Lux Excel Programming 5 July 15th 06 04:24 PM


All times are GMT +1. The time now is 09:17 PM.

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

About Us

"It's about Microsoft Excel"