ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Q about referencing named ranges (https://www.excelbanter.com/excel-programming/362676-q-about-referencing-named-ranges.html)

42N83W

Q about referencing named ranges
 
Windows XP Pro SP2
Excel 2002 SP3

Are the named ranges within a workbook accessible via the name alone, or do
you have to specify the sheet if the named range is on a sheet other than
the active sheet?

Does Excel allow the same named range if they reside on separate sheets?


-gk-

=================================================
The creative act is not the province of remote oracles or rarefied geniuses
but a transparent process that is open to everyone.
-Greg Kot in Wilco Learning How To Die-



Nigel

Q about referencing named ranges
 
Named ranges can be global or local to specific sheets. So you can have the
same name for different sheets. IMO it is not a good idea and could cause
confusion!

--
Cheers
Nigel



"42N83W" wrote in message
...
Windows XP Pro SP2
Excel 2002 SP3

Are the named ranges within a workbook accessible via the name alone, or
do you have to specify the sheet if the named range is on a sheet other
than the active sheet?

Does Excel allow the same named range if they reside on separate sheets?


-gk-

=================================================
The creative act is not the province of remote oracles or rarefied
geniuses
but a transparent process that is open to everyone.
-Greg Kot in Wilco Learning How To Die-




Bob Phillips

Q about referencing named ranges
 
You only have to specify the sheet if they are worksheet names as against a
workbook name. Worksheet names mean that the name can be re-used for
different sheets, using the same name, but referring to a different value.
To create worksheet names, precede the name by the sheet name, such as
Sheet1!MyName, in the Names dialog.

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"42N83W" wrote in message
...
Windows XP Pro SP2
Excel 2002 SP3

Are the named ranges within a workbook accessible via the name alone, or

do
you have to specify the sheet if the named range is on a sheet other than
the active sheet?

Does Excel allow the same named range if they reside on separate sheets?


-gk-

=================================================
The creative act is not the province of remote oracles or rarefied

geniuses
but a transparent process that is open to everyone.
-Greg Kot in Wilco Learning How To Die-






All times are GMT +1. The time now is 05:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com