+ Reply to Thread
Results 1 to 3 of 3

How excel handles names in multiple sheets

  1. #1
    Registered User
    Join Date
    08-10-2007
    Posts
    8

    How excel handles names in multiple sheets

    Hi, I'm just wondering what this code will do when there are multiple sheets with the same named range. Will it delete them all? Just the first one?

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Dmartindale,

    Named Ranges are a collection object. Each item in a collection must be uniquely identifiable. Only one range can exist with that name. Define a named range on a worksheet. On a different sheet, name a different range with the same name. The first range is now defined as the second range. You only delete a single range with your code.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    08-10-2007
    Posts
    8
    Hm, thanks Leith, ok I'm certain that I have multiple named ranges with the same name, so they must be uniquely identifiable by their sheet name. Would it make sense to say the following?

    Please Login or Register  to view this content.

+ 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.6.0 RC 1