Results 1 to 12 of 12

range name cleaner out there? I have range names that cannot only be deleted by hand?!

Threaded View

bagullo range name cleaner out there?... 06-07-2012, 04:31 AM
bagullo Re: range name cleaner out... 06-07-2012, 05:20 AM
snb Re: range name cleaner out... 06-07-2012, 05:35 AM
Thalassa Re: range name cleaner out... 06-07-2012, 05:43 AM
bagullo Re: range name cleaner out... 06-07-2012, 09:17 AM
bagullo Re: range name cleaner out... 06-07-2012, 09:18 AM
snb Re: range name cleaner out... 06-07-2012, 09:34 AM
bagullo Re: range name cleaner out... 06-07-2012, 09:46 AM
bagullo Re: range name cleaner out... 06-07-2012, 09:48 AM
snb Re: range name cleaner out... 06-07-2012, 10:39 AM
bagullo Re: range name cleaner out... 06-07-2012, 10:44 AM
snb Re: range name cleaner out... 06-07-2012, 10:48 AM
  1. #1
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    Exclamation range name cleaner out there? I have range names that cannot only be deleted by hand?!

    Hi,

    I work sometimes with files that with sheets copied from old excel files from japan and are loaded with Excel 4.0 macros and/or range names with invalid names and/or definitions. I would really like to delete them all by code because there are many of them.

    by hand is no problem, open the dialog and ONE BY ONE i can delete them .
    however if I instruct a macro to do the same error comes saying "error 1004, that name is invalid"
    I tried to make them visible, change the definition, but nothing works.
    and putting "ON ERROR REUME NEXT" leaves then as they are...

    I even thought of manipulating the names dialog by code, but aparently that is impossible...

    should I do it by sendkeys or something like that??

    I attach the file for your amusement --- whoever makes a code to delete all range names will win my eternal gratitude.
    I had to compress the file because otherwise it is more than 1MB ! (no content besides range names...!)



    kind regards


    Bernat
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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