+ Reply to Thread
Results 1 to 1 of 1

Check if a Named Range exists (global scope) and tell the user about confilcting situation

  1. #1
    Registered User
    Join Date
    07-19-2012
    Location
    Washington DC
    MS-Off Ver
    Excel 2013
    Posts
    36

    Check if a Named Range exists (global scope) and tell the user about confilcting situation

    I saw some information on but I need to be a bit more specific.

    I have a macros that names the headers of a region of data. It error checks if the proposed header names aren't valid names. I've attached.

    I want to check if the a named range exists in the ActiveWorkbook. I've tried the code below, as an if to check if the names exist in the the workbook. It doesn't quite work. I've attached an example sheet for reference as well.

    Any help would be much appreciate.


    Please Login or Register  to view this content.

    So basically, I want to get a pop that says: hey wait, that name already exists, rename it. Eventually I want to put in an input box that allows for people to rename on the spot but thats the next step.
    Attached Files Attached Files

+ 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. [SOLVED] Named Range Scope
    By OzTrekker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2012, 02:22 AM
  2. Check if date exists in Named Range "Holiday_List"
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2012, 02:33 PM
  3. Check if a named range exists
    By Hein in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2010, 09:16 AM
  4. Check if named range exists and ignore if it doesn't
    By lawtonl in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-14-2009, 10:05 AM
  5. [SOLVED] Check if named range exists!
    By steve_doc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2006, 07:00 PM

Tags for this Thread

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