#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default range names

I am trying to copy a sheet from one workbook into another. Both of these workbooks have hundreds of the same range names, but only maybe two (I mean two, not two hundred) exist on this sheet. Nevertheless, when I try to "copy worksheet", it wants to know which version of the range name I want to use for the hundreds of range names.

Does this make sense? Is copying one sheet from a workbook the equivalent of copying all its range names, even if, for sake of argument, none of them are referenced on that sheet?

Thanks!
Dean
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default range names

I opened two workbooks in the same instance of Excel. The second book had
dozens of book-level named ranges as well as a few sheet-level named ranges.
I right-clicked on one sheet tab and selected "Move or Copy..." I copied the
sheet to the first book (check "Create a copy"). The sheet copied over and
only took it's local sheet-level named range with it. The book-level names
didn't copy over and I saw no prompt regarding which named range. (I also
tried this by adding a book-level name exactly the same as the sheet-level
name. Still no problem.) How are you doing the copy?

"Dean" wrote:

I am trying to copy a sheet from one workbook into another. Both of these workbooks have hundreds of the same range names, but only maybe two (I mean two, not two hundred) exist on this sheet. Nevertheless, when I try to "copy worksheet", it wants to know which version of the range name I want to use for the hundreds of range names.

Does this make sense? Is copying one sheet from a workbook the equivalent of copying all its range names, even if, for sake of argument, none of them are referenced on that sheet?

Thanks!
Dean

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default range names

Just the way you are, Charlie. First of all, I did not know there was a
distinction of sheet level and book level range names. Assuming the range
that was named is all on one sheet, does that make it sheet level? If not,
kindly tell me what is the distinction.

This might be the problem - the sheet being copied might have had a
reference to another sheet (which, in turn, had references to another sheet,
which...) which might, ultimately, have 'covered' almost every range name in
the workbook.

Does this make sense?

Thanks!
Dean


"Charlie" wrote in message
...
I opened two workbooks in the same instance of Excel. The second book had
dozens of book-level named ranges as well as a few sheet-level named
ranges.
I right-clicked on one sheet tab and selected "Move or Copy..." I copied
the
sheet to the first book (check "Create a copy"). The sheet copied over
and
only took it's local sheet-level named range with it. The book-level
names
didn't copy over and I saw no prompt regarding which named range. (I also
tried this by adding a book-level name exactly the same as the sheet-level
name. Still no problem.) How are you doing the copy?

"Dean" wrote:

I am trying to copy a sheet from one workbook into another. Both of
these workbooks have hundreds of the same range names, but only maybe two
(I mean two, not two hundred) exist on this sheet. Nevertheless, when I
try to "copy worksheet", it wants to know which version of the range name
I want to use for the hundreds of range names.

Does this make sense? Is copying one sheet from a workbook the
equivalent of copying all its range names, even if, for sake of argument,
none of them are referenced on that sheet?

Thanks!
Dean



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default range names

Hi Dean,

First of all, I did not know there was a distinction of sheet level and
book level range names. Assuming
the range that was named is all on one sheet, does that make it sheet
level? If not, kindly tell me what is the distinction.


See Jan Karel Pieterse' 'Defined Names' pages at:

http://www.jkp-ads.com/Articles/ExcelNames.htm

See also xlDynamic's Names page at:

http://www.xldynamic.com/source/xld.Names.html


---
Regards,
Norman


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default range names

Nice links - thanks - this stuff does get complicated.


"Norman Jones" wrote in message
...
Hi Dean,

First of all, I did not know there was a distinction of sheet level and
book level range names. Assuming
the range that was named is all on one sheet, does that make it sheet
level? If not, kindly tell me what is the distinction.


See Jan Karel Pieterse' 'Defined Names' pages at:

http://www.jkp-ads.com/Articles/ExcelNames.htm

See also xlDynamic's Names page at:

http://www.xldynamic.com/source/xld.Names.html


---
Regards,
Norman



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
converting email address names in a range of cells to real names John Excel Worksheet Functions 1 May 19th 10 03:44 PM
How to Delete blanks between a range and populate only the names inthe given range Yuvraj Excel Discussion (Misc queries) 2 November 4th 09 08:32 PM
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
Range names Dean[_8_] Excel Programming 5 September 8th 05 08:15 AM


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