+ Reply to Thread
Results 1 to 7 of 7

Thread: Duplicating Named Ranges

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Duplicating Named Ranges

    Afternoon all,

    I'm creating a KPI spreadsheet which utilizes named ranges to allow for Dynamic charting. I've created the first data input sheet for one of the 10 areas being KPIed. The sheet has 60 named ranges in it.

    The goal is to duplicate the existing sheet (Area 1A) 10 times and adjust the named ranges and formulas within the named ranges according to the sheet names.

    Is there a way to accomplish this without having to manually recreate or edit every named range for each new sheet?

    I can attach what I have so far if needed but the file is 2.64mb. I didn't want to glog anything up with such a large sample file.

    Thanks
    Last edited by scaffdog845; 02-12-2010 at 02:05 PM.
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,770

    Re: Duplicating Named Ranges

    Just copy the sheet.

    If the names on the orginal sheet have workbook scope, the names on the copied sheet will have worksheet scope. Make an extra copy and delete the original, so they all have worksheet scope.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Re: Duplicating Named Ranges

    Quote Originally Posted by shg View Post
    Just copy the sheet.

    If the names on the orginal sheet have workbook scope, the names on the copied sheet will have worksheet scope. Make an extra copy and delete the original, so they all have worksheet scope.

    SHG

    Are you saying delete the original sheet containing the named ranges with workbook scope after copying the sheet? Then use the sheet with named ranges as scope worksheet to do the remaining copies?
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,770

    Re: Duplicating Named Ranges

    The order doesn't matter. You can make multiple copies of the original, or copy the copies.

    The point is just so that at the end, all the names have sheet scope.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Re: Duplicating Named Ranges

    Thanks for the help SHG. Now that I've been through it, it makes sense. I never tried to perform this kind of copy before. Thanks for the help.The only issue now is that 2.65mb file went to 24.2mb and it doesn't have any data or charts in it yet, but I guess that's a seperate issue.......
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  6. #6
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,770

    Re: Duplicating Named Ranges

    Maybe scrub the original before making copies -- delete unused rows and columns, clear unnecessary formatting, save, close, and reopen.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    280

    Re: Duplicating Named Ranges

    Grouped all the sheets and scrubed as is. Cut it down to a manageable 5mb. I quess I really didn't have to prep the sheet to hold quite so many years worth of data. Like everything else, it will probably be obsolete long before that time comes.

    Thanks again. HAVE A GREAT WEEKEND!
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0