+ Reply to Thread
Results 1 to 2 of 2

Copy Source Worksheet to Target Worksheet updating Named Ranges (with Source Ranges)

  1. #1
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Copy Source Worksheet to Target Worksheet updating Named Ranges (with Source Ranges)

    I have a Several different Workbooks that deal with different data. Each workbook has a sheet with employee information and named ranges that are referenced.
    When employee changes - I have a template sheet that i update with all pertinant info adding rows and deleting rows. This has Named ranges (mirroring the Targets)

    So if I cop[y the sheet from source to Target
    Please Login or Register  to view this content.
    Works BUT Ranges do not come over

    When I copy the Ranges
    Please Login or Register  to view this content.
    I get error (existing Named Ranges with the name)

    I would like to Copy the info over - replace Target Ranges (without deleting and #Ref error in formulas of Target WorkBook) with Source Ranges

    AND add any new Named Ranges from Source

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Copy Source Worksheet to Target Worksheet updating Named Ranges (with Source Ranges)

    Perhaps copy the entire sheet instead...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Replies: 2
    Last Post: 09-28-2016, 02:09 PM
  2. [SOLVED] Copy formulas from the Source worksheet to the Target worksheet using a macro
    By Excel987 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2015, 04:03 PM
  3. Replies: 2
    Last Post: 01-03-2013, 01:29 AM
  4. Copy Dynamic Named Ranges from one Worksheet to another
    By alexbell2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-15-2012, 09:33 AM
  5. Copy multiple named ranges to worksheet
    By PShingadia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2012, 11:50 AM
  6. Charts - Source Data based on Named Ranges
    By Hurricane8 in forum Excel General
    Replies: 1
    Last Post: 07-15-2008, 04:02 PM
  7. Named ranges as source data?
    By AndyKing in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-21-2006, 03:33 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