+ Reply to Thread
Results 1 to 2 of 2

Copying worksheet to another workbook brings extra named ranges with it

  1. #1
    Registered User
    Join Date
    03-28-2017
    Location
    Kansas
    MS-Off Ver
    MS Office Pro Plus 2013
    Posts
    4

    Copying worksheet to another workbook brings extra named ranges with it

    Hello everyone. This is difficult to describe, so please let me know if there's something I should elaborate on.

    Background:
    I have a master workbook containing template worksheets. Users copy the master workbook to multiple folders across the server. They also make multiple copies of the individual template sheets. They copy these sheets within the same workbook (which works fine), and sometimes into another copy of the master workbook (this is where the problems arise).

    The master data sheets have named ranges scoped to the workbook so other sheets can reference them.

    The template sheets have different named ranges, scoped to the individual sheets to allow for multiple copies of the same sheet. There are also formulas on the template sheets referencing the global named ranges.

    My problem:
    When copying a template sheet to another workbook, new local copies are created of ALL global named ranges, even those not referenced in formulas. The new names reference the previous file, creating an unwanted external link.

    When copying, I used to get a popup asking if I wanted to just use the existing name. Choosing yes would avoid this issue, but I'm no longer receiving the prompt. It simply copies the tab and creates all the new names.

    Any suggestions?
    Last edited by MattCSI; 03-28-2017 at 06:22 PM.

  2. #2
    Registered User
    Join Date
    03-28-2017
    Location
    Kansas
    MS-Off Ver
    MS Office Pro Plus 2013
    Posts
    4

    Re: Copying worksheet to another workbook brings extra named ranges with it

    I'll try to be more concise.

    Workbook has 1 Data sheet and multiple Takeoff sheets. There are multiple copies of this workbook across the server.
    Data sheet has named ranges with scope set to workbook
    Takeoff sheets have formulas that reference names from Data sheet

    When a Takeoff sheet is copied from one workbook to another, it should reference the Data sheet in its new workbook (the names are the same across workbooks). Instead, it creates new names that link back to its old workbook.

    How do I prevent this?
    Last edited by MattCSI; 03-29-2017 at 11:05 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Moving worksheet with named ranges to new workbook without referencing old workbook
    By madcaplaughs79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-28-2014, 07:54 PM
  2. Replies: 4
    Last Post: 02-06-2014, 11:13 PM
  3. Copying and pasting Named (Dynamic) Ranges from one workbook to the other
    By Let in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2012, 10:06 AM
  4. Copying all named ranges from active worksheet
    By lad29 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2011, 04:55 AM
  5. Named Ranges - Worksheet/Workbook Scope
    By keithabailey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-17-2011, 10:25 AM
  6. supress prompt for named ranges when copying sheet to new workbook
    By neowok in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2006, 02:00 PM
  7. [SOLVED] named ranges and copying sheets to another workbook
    By helpwithXL in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2005, 12:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1