PC Review


Reply
Thread Tools Rate Thread

copying sheet to other workbook and named ranges

 
 
stef
Guest
Posts: n/a
 
      24th Jan 2008
Excel 2002 SP3
Win XP Pro SP2

I need to copy a sheet inside a workbook, to many other workbooks.

One of the problems is that each of the workbooks contains ranges named
ranged, rangem, rangey, and that only at times does Excel gives me the
warning message re. which name to use: destination or source sheet.

So I cannot control that process.

Any suggestions?

How I proceed is right click on tab of source sheet of workbook A; click
"copy", choose destination file that is already open, location within
that workbook, and enter.

Any suggestion as to how to overcome this?

Thanks.


 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      25th Jan 2008
stef,

Try making all of your names local sheet-level names: when you define the name, use a name preceded
by the sheet name, like

'Sheet Name'!NameUsed

The single quotes are needed if your sheet name has spaces in it.

HTH,
Bernie
MS Excel MVP


"stef" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Excel 2002 SP3
> Win XP Pro SP2
>
> I need to copy a sheet inside a workbook, to many other workbooks.
>
> One of the problems is that each of the workbooks contains ranges named ranged, rangem, rangey,
> and that only at times does Excel gives me the warning message re. which name to use: destination
> or source sheet.
>
> So I cannot control that process.
>
> Any suggestions?
>
> How I proceed is right click on tab of source sheet of workbook A; click "copy", choose
> destination file that is already open, location within that workbook, and enter.
>
> Any suggestion as to how to overcome this?
>
> Thanks.
>
>



 
Reply With Quote
 
stef
Guest
Posts: n/a
 
      27th Jan 2008
Bernie,
Thanks.
So this would avoid confusion on the names, etc.
You are saying that this is good practice to use as a rule, always, correct?

'Historical Performance'!rangem (for example)

What about ifI am using that name in separate workbooks? Shouldn't I
have some type of reference to the workbook name as well? e.g.

Bernie Deitrick wrote:
> stef,
>
> Try making all of your names local sheet-level names: when you define the name, use a name preceded
> by the sheet name, like
>
> 'Sheet Name'!NameUsed
>
> The single quotes are needed if your sheet name has spaces in it.
>
> HTH,
> Bernie
> MS Excel MVP
>
>
> "stef" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>> Excel 2002 SP3
>> Win XP Pro SP2
>>
>> I need to copy a sheet inside a workbook, to many other workbooks.
>>
>> One of the problems is that each of the workbooks contains ranges named ranged, rangem, rangey,
>> and that only at times does Excel gives me the warning message re. which name to use: destination
>> or source sheet.
>>
>> So I cannot control that process.
>>
>> Any suggestions?
>>
>> How I proceed is right click on tab of source sheet of workbook A; click "copy", choose
>> destination file that is already open, location within that workbook, and enter.
>>
>> Any suggestion as to how to overcome this?
>>
>> Thanks.
>>
>>

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... christian_spaceman Microsoft Excel Programming 3 24th Dec 2007 01:15 PM
supress prompt for named ranges when copying sheet to new workbook neowok Microsoft Excel Programming 1 1st Feb 2006 05:53 PM
Copying named ranges from one sheet to another Mark Stephens Microsoft Excel Programming 3 4th Aug 2005 02:54 PM
named ranges and copying sheets to another workbook helpwithXL Microsoft Excel Programming 1 17th May 2005 04:57 PM
ADO - recordset - closed excel workbook - know sheet name and cell name but no named ranges defined grahamd Microsoft Excel Programming 1 18th Oct 2004 06:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:34 AM.