+ Reply to Thread
Results 1 to 3 of 3

Remove All Defined Names

  1. #1
    Forum Contributor pr4t3ek's Avatar
    Join Date
    10-13-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2003 & 2007, 2010
    Posts
    483

    Remove All Defined Names

    Hi,
    I use Vlookup's a lot so i define my range with specific names a lot.
    But when i want to clear the range names via Insert>Name>Define>"Select the range name then click delete. but instead of clicking on each range name, i would like to to delete all.

    I can create a macro to do this but some days i use different range names that other days so the below will not work exactly..

    Please Login or Register  to view this content.
    but to keep in mind, i dont want it to remove the Print Area defined range.....

    thanks!
    Last edited by pr4t3ek; 10-18-2008 at 09:45 AM.
    --
    Regards
    PD

    ----- Don't Forget -----

    1. Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks

    2. Thank those who have helped you by Clicking the scales above each post.

    3. Please mark your post [SOLVED] if it has been answered satisfactorily.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    This appears to work:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor pr4t3ek's Avatar
    Join Date
    10-13-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2003 & 2007, 2010
    Posts
    483
    awesome =]

    had to use ActiveWorkbook instead of ThisWorkbook

    nevertheless, thanks alot! =]

+ 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. Defined Names - choose which one to use
    By rabright in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2008, 11:06 AM
  2. Data Validation Defined Names
    By ChemistB in forum Excel General
    Replies: 4
    Last Post: 02-22-2008, 02:18 PM
  3. identify defined names in VBA code
    By Mike1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2008, 11:41 AM
  4. Duplicate Defined Names ?
    By dpenny in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2007, 03:25 PM
  5. Updating Defined Names with Macro
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-10-2007, 11:34 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