PC Review


Reply
Thread Tools Rate Thread

Copying a Named Range with changing cell references

 
 
jwilkes@sedgman.com.au
Guest
Posts: n/a
 
      20th Feb 2008
I am writing a macro to copy a sheet from a workbook to a new
workbook, it has hiddden rows which i am not copying just values,
however, I also want to copy the named ranges to the new sheet, the
problem being the cell references change as I get rid of hidden rows
and columns. Is there any way to carry over a named range, having it
refering to values or cell content rather than actuall cell
references................
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      20th Feb 2008
..PasteSpecial Paste:=xlPasteValues would be my guess. That would not
transfer any formulas or formats from the source range or sheet.

"(E-Mail Removed)" wrote:

> I am writing a macro to copy a sheet from a workbook to a new
> workbook, it has hiddden rows which i am not copying just values,
> however, I also want to copy the named ranges to the new sheet, the
> problem being the cell references change as I get rid of hidden rows
> and columns. Is there any way to carry over a named range, having it
> refering to values or cell content rather than actuall cell
> references................
>

 
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 formulas and changing cell references mainsol Microsoft Excel Misc 3 9th Feb 2009 09:42 AM
Copying a named range with a changing cell reference jwilkes@sedgman.com.au Microsoft Excel New Users 1 21st Feb 2008 07:49 AM
Please Help! Copy named range to new workbook without changing references. Matt.Russett Microsoft Excel Programming 2 3rd Apr 2007 02:00 PM
Changing cell references in a Range to Absolute =?Utf-8?B?VGhlIEhhd2s=?= Microsoft Excel Misc 1 3rd May 2006 06:08 PM
Replacing Named Range Names By Cell References in Formulas KL Microsoft Excel Programming 2 13th Dec 2004 08:56 PM


Features
 

Advertising
 

Newsgroups
 


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