+ Reply to Thread
Results 1 to 7 of 7

Create the same named Range across multiple sheets

  1. #1
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Create the same named Range across multiple sheets

    Hi All Expert,

    I have been given a task to update data validation across multiple cells & worksheets. It working fine but I am really surprised why the named range only been created at the last worksheets. Based on the code, the named range "ScoreDecimal" supposed to be created in each sheets.

    It the user remove the last worksheets, the updated data will gone

    Please Login or Register  to view this content.
    Last edited by Faridwahidi; 09-06-2015 at 10:00 PM.
    1. Thank those who have helped you by clicking the Star * below the post.
    2. Please mark your post [SOLVED] if it has been answered satisfactorily.

    Sincerely,
    Farid

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Create the same named Range across multiple sheets

    I am really surprised why the named range only been created at the last worksheets
    Named ranges must be unique. You just have one so the code just keeps overwriting it till it gets to the last tab.
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Create the same named Range across multiple sheets

    Hi Trebor,

    Thanks for the reply.

    However, if user manually create copy and renamed worksheets. The named ranges will appear in each sheets. please see attchment

    named ranges.jpg

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Create the same named Range across multiple sheets

    However, if user manually create copy and renamed worksheets. The named ranges will appear in each sheets
    But if you manually create a data validation drop-down based on the MONTH named range it will always refer to the first MONTH named range as this is what Excel determines to be unique named range in this situation.
    Last edited by Trebor76; 09-06-2015 at 10:26 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Create the same named Range across multiple sheets

    Thanks for the explanation. however, in my workbook, it seems not like that

    if you create copy new worksheets and renamed it. Then remove the main worksheets, the new crated worksheets with the same named ranges is still working fine.
    Attached Files Attached Files

  6. #6
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Create the same named Range across multiple sheets

    Hi Farid,
    try this
    Please Login or Register  to view this content.

  7. #7
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Create the same named Range across multiple sheets

    Hi Nilem,

    Amazing.. It works,

    You should be promoted to Guru level

+ 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. Expanding code from working on one named sheet to multiple named sheets
    By BryanD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2014, 01:26 PM
  2. Is this possible? Create new workbook from multiple sheets based on variable range?
    By Ashaffer2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-26-2014, 08:52 AM
  3. [SOLVED] Create macro that searches multiple named ranges and returns name of the range with data
    By mechant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 01:04 AM
  4. Named range with Vlookup on Multiple Sheets
    By Spike8754 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-12-2012, 09:54 AM
  5. Cancel posting
    By Richard3 in forum Excel General
    Replies: 1
    Last Post: 02-24-2012, 12:45 PM
  6. Sumproduct across multiple sheets using named range
    By reggie1000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2008, 09:25 AM
  7. Dynamic named range across multiple sheets
    By babycody in forum Excel General
    Replies: 3
    Last Post: 07-24-2005, 02:05 AM

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