PC Review


Reply
Thread Tools Rate Thread

Copying sheets without copying named ranges

 
 
NMACK08
Guest
Posts: n/a
 
      5th Feb 2008
I have a workBOOK with named ranges in it, and want to copy a workSHEET out
of it into a new workBOOK without taking the range names into the new
workBOOK. The new workSHEET doesn't have any named ranges in it, but when I
copy it to a new workBOOK (also without named ranges), it copies all of the
names from the original workBOOK into the new workBOOK.
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      5th Feb 2008
I would think that:

ActiveWorkbook.ActiveSheet.Cells.Copy
Workbooks(2).Sheets(1).Range("A1").PasteSpecial Paste:=xlPasteValues

Would work.


"NMACK08" wrote:

> I have a workBOOK with named ranges in it, and want to copy a workSHEET out
> of it into a new workBOOK without taking the range names into the new
> workBOOK. The new workSHEET doesn't have any named ranges in it, but when I
> copy it to a new workBOOK (also without named ranges), it copies all of the
> names from the original workBOOK into the new workBOOK.

 
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
Copying Worksheets which contain Named Ranges Terry Bennett Microsoft Excel Worksheet Functions 0 25th Jun 2009 05:04 PM
copying named ranges to other sheets =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Programming 0 6th Aug 2007 01:50 PM
Re: Copying Named Ranges Bob Phillips Microsoft Excel Misc 0 11th Dec 2006 11:32 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


Features
 

Advertising
 

Newsgroups
 


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