Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Reseting named ranges.

In Lotus 123 I could rest all named ranges at one time using /rnr. Is there
a way to do this in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Reseting named ranges.

There isn't a reset all function, but the following code will remove all
range names from the current workbook:

Sub RemoveNames()

Dim wb As Workbook
Dim n As Name

Set wb = ActiveWorkbook
For Each n In wb.Names
n.Delete
Next n

Set wb = Nothing
Set n = Nothing

End Sub

--
Kevin Backmann


"Jim" wrote:

In Lotus 123 I could rest all named ranges at one time using /rnr. Is there
a way to do this in Excel?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Reseting named ranges.

Download JK Pieterse's Name Manager Add-in.

It is capable of many functions.

http://www.oaltd.co.uk/mvp/


Gord Dibben MS Excel MVP

On Fri, 8 Sep 2006 07:59:01 -0700, Jim wrote:

In Lotus 123 I could rest all named ranges at one time using /rnr. Is there
a way to do this in Excel?


  #4   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Reseting named ranges.

Thanks for the help. I'll give it a try.

"Kevin B" wrote:

There isn't a reset all function, but the following code will remove all
range names from the current workbook:

Sub RemoveNames()

Dim wb As Workbook
Dim n As Name

Set wb = ActiveWorkbook
For Each n In wb.Names
n.Delete
Next n

Set wb = Nothing
Set n = Nothing

End Sub

--
Kevin Backmann


"Jim" wrote:

In Lotus 123 I could rest all named ranges at one time using /rnr. Is there
a way to do this in Excel?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default Reseting named ranges.

Jim,

You can indeed still use /rnr in Excel to reset all range names just
like in Lotus 1-2-3 without the need for a special macro or function.

1.) Do the menu sequence ToolsOptions, then in the resultant dialog
box, click the Transition tab.

2.) In the "Microsoft Excel Menu of Help Key" field, enter a /, then
choose the "Lotus 1-2-3 Help" radio button and click OK.

3.) Now from your worksheet, hit just the / key on the keyboard to
bring up "Help for Lotus 1-2-3 Users" dialog box.

4.) Click the "Demo" radio button, then click the "Faster" button until
the number reaches 5 and click OK.

5.) From now on, simply do /rnr to reset all your range names. (Note
that while Excel performs this for you, it will be showing you a "demo"
by going through all the screens for you. Don't worry about that -
just let it happen; Excel will indeed be performing /rnr for you.)

By the way, now that you'd set this up, you will find that most (but
not all) Lotus 1-2-3 "/" commands will now work in Excel, and as you
type them, you actually see the old Lotus 1-2-3 menu sequences appear
on screen.

Let me know if this was a help to you.

Paul

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
Mass Creation of Named Ranges? [email protected] Excel Discussion (Misc queries) 7 July 11th 06 08:41 AM
Named Ranges Joe Gieder Excel Worksheet Functions 2 February 16th 06 01:31 AM
dynamically building references to named ranges [email protected] Excel Discussion (Misc queries) 1 January 3rd 06 10:23 PM
Like 123, allow named ranges, and print named ranges WP Excel Discussion (Misc queries) 1 April 8th 05 06:07 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 10:30 AM.

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"