Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jack Sheet
 
Posts: n/a
Default Worksheet copy problem - local names

Hi all

Name
'Sheet (1)'!MyName refers to
=Sheet1!$A$1:$A$100

'Sheet (2)'!$B$2 contains a formula
=SUM('Sheet (1)'!MyName)

If I dulicate 'Sheet (2)' (Edit/Copy or move sheet)
then 'Sheet (3)'!$B$1 contains the formula
=#N/A
when I would prefer it to contain the formula
=SUM('Sheet (1)'!MyName)

Is there a general way to achieve this (other than VBA?)

Please do NOT suggest that I enter =SUM('Sheet (1)'!MyName)
in some cell in Sheet1 and then refer to that cell in 'Sheet (2)'!$B$1
rather than the name
I KNOW that that would successfully solve the precise example stated, but in
reality I have a vast number of formulae displaying this problem in the
sheet to be copied.

--
Return email address is not as DEEP as it appears


  #2   Report Post  
Jack Sheet
 
Posts: n/a
Default

Slight misprint. Any reference to cell $B$2 anywhere should read $B$1.

"Jack Sheet" wrote in message
...
Hi all

Name
'Sheet (1)'!MyName refers to
=Sheet1!$A$1:$A$100

'Sheet (2)'!$B$2 contains a formula
=SUM('Sheet (1)'!MyName)

If I dulicate 'Sheet (2)' (Edit/Copy or move sheet)
then 'Sheet (3)'!$B$1 contains the formula
=#N/A
when I would prefer it to contain the formula
=SUM('Sheet (1)'!MyName)

Is there a general way to achieve this (other than VBA?)

Please do NOT suggest that I enter =SUM('Sheet (1)'!MyName)
in some cell in Sheet1 and then refer to that cell in 'Sheet (2)'!$B$1
rather than the name
I KNOW that that would successfully solve the precise example stated, but

in
reality I have a vast number of formulae displaying this problem in the
sheet to be copied.

--
Return email address is not as DEEP as it appears




  #3   Report Post  
Jack Sheet
 
Posts: n/a
Default

I get quite close to the desired solution by inserting a new worksheet
then block the whole of the source worksheet, copy it to the clipboard
and then paste it into cell A1 of the newly created worksheet.

The problem with that is that it does not create local names that should be
local to the newly created sheet and which would have been created using the
Edit/Copy Sheet method
(and the print page setups are not copied either, of course, nor autofilter
settings etc)


"Jack Sheet" wrote in message
...
Slight misprint. Any reference to cell $B$2 anywhere should read $B$1.

"Jack Sheet" wrote in message
...
Hi all

Name
'Sheet (1)'!MyName refers to
=Sheet1!$A$1:$A$100

'Sheet (2)'!$B$2 contains a formula
=SUM('Sheet (1)'!MyName)

If I dulicate 'Sheet (2)' (Edit/Copy or move sheet)
then 'Sheet (3)'!$B$1 contains the formula
=#N/A
when I would prefer it to contain the formula
=SUM('Sheet (1)'!MyName)

Is there a general way to achieve this (other than VBA?)

Please do NOT suggest that I enter =SUM('Sheet (1)'!MyName)
in some cell in Sheet1 and then refer to that cell in 'Sheet (2)'!$B$1
rather than the name
I KNOW that that would successfully solve the precise example stated,

but
in
reality I have a vast number of formulae displaying this problem in the
sheet to be copied.

--
Return email address is not as DEEP as it appears






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
How do I copy page setup from one worksheet & paste into new shee. Rasc0 Excel Discussion (Misc queries) 2 December 1st 04 10:12 PM
Linking items GREATER THAN O on another worksheet in the same Work Eddie Shapiro Excel Discussion (Misc queries) 4 December 1st 04 02:55 PM
Worksheet name and Backward compatibility Rich Excel Discussion (Misc queries) 3 November 30th 04 06:10 PM


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