LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Named Ranges

Try this manually...

Open your workbook and go to any of the sheets that doesn't have that name.
Then use the name dropdown to select that named range.

Notice that you'll go to the range that is a global/workbook level name.

If you go to the sheet that has the local/worksheet level name and do the same
thing, then you'll get the range on the same sheet.

So my general rule is to qualify the named range with the worksheet. An
ambiguity will be lost.

worksheets("Sheet1").range("NamedRange")
or
worksheets("Sheet2").range("NamedRange")

will refer to the range on the respective sheets--no matter what type of name
(global or local) the name actually is.



Jon, Furie wrote:

I currently have a named range on one worksheet that i can access via just the named range (i.e. range("namedrange")) through one userform but not through another. The second userform required a sheet name before every namedrange reference in my code.

Any thoughts on why one form is behaving differently than the other? Both forms are accessed from the same sheet (albeit different than the location of the namedrange).

thanks,
Jon

Dave Peterson wrote:

Since you can only have one global name with a particular name, you'll have
23-Sep-08

Since you can only have one global name with a particular name, you will have to
create a new name, then delete the old local name.

Henry wrote:

--

Dave Peterson

Previous Posts In This Thread:

On Tuesday, September 23, 2008 2:24 PM
Henr wrote:

How can I change a Name scope from local to Global?
How can I change a Name scope from local to Global?
I designed a worksheet and duplicated it, along with the Names. I have
edited the names but now those are scoped for that worksheet only. Name
Manager does not allow me to change the scope.

On Tuesday, September 23, 2008 2:39 PM
Dave Peterson wrote:

Since you can only have one global name with a particular name, you'll have
Since you can only have one global name with a particular name, you will have to
create a new name, then delete the old local name.

Henry wrote:

--

Dave Peterson

Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Report Engine, Part 2
http://www.eggheadcafe.com/tutorials...ne-part-2.aspx


--

Dave Peterson
 
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 do I stop "global" hyperlinks changing to "local" links? Em Excel Worksheet Functions 2 August 26th 08 01:18 PM
Global name used in local version clara Excel Discussion (Misc queries) 3 June 16th 08 06:54 PM
User Defined Functions - local or global? Simon Excel Worksheet Functions 5 September 27th 06 09:15 AM
How do I do a global change from uppercase to lowercase? Instrument Guy Excel Discussion (Misc queries) 2 February 17th 06 08:20 PM
Convert Local Names to Global Names Ed Excel Worksheet Functions 1 November 30th 05 05:23 PM


All times are GMT +1. The time now is 11:24 AM.

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"