PC Review


Reply
Thread Tools Rate Thread

Copy WS w/ Named Ranges in Excel 2007

 
 
DocBrown
Guest
Posts: n/a
 
      24th Aug 2009
I have a WB created in Excel 2003 which uses Named Ranges extensively. In
Excel 2003, if I use VBA to copy the WS that contains the named ranges from
one WB to another, the Named ranges become Workbook global to the target WB
(which is what I want). But in 2007, the Named Ranges remain Workbook Global
to the SOURCE workbook. For example, the Refers to in the Target WB are:

2003:
=Lists!$Y$7

2007
='D:\My Data\CDM\Budget\2007\templates\[CDM_Budget_20.xlt]Lists'!$Y$7

Does anyone have any idea how to work with this??? It's critical for my
design that I copy WS from one workbook to another that contain these lists.

My design is this:
I have a template that contains a WS 'Lists' that define a whole bunch of
Named Ranges used to create dropdown lists on users WSs for data entry. Users
create working WB from this template. To maintain the lists, and allow for
updates, the users can get an updated 'Lists' WS from the template. VBA code
copies the updated 'Lists' WS from the template to their working WBs.

In 2003 this worked GREAT. But in 2007, this breaks because the Named Ranges
in the copied WS continue to reference the template that is now closed.

Any help is greatly appreciated.
John
 
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
copy excel named ranges to powerpoint as pict with VBA Jeff Microsoft Excel Programming 4 16th Apr 2009 02:42 AM
Excel 2007 and Named Ranges J Streger Microsoft Excel Programming 3 7th Oct 2008 09:55 PM
Excel 2007 Named Ranges Barb Reinhardt Microsoft Excel Misc 0 22nd Sep 2008 08:01 PM
Named ranges in Excel 2007 argniw@yahoo.com Microsoft Excel Misc 2 10th Sep 2007 08:22 PM
How do I copy a group of worksheets with named ranges in Excel 200 =?Utf-8?B?c2M=?= Microsoft Excel Worksheet Functions 2 26th Sep 2006 12:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:08 PM.