PC Review


Reply
Thread Tools Rate Thread

Batch deleting invalid defined names from a workbook

 
 
=?Utf-8?B?aHVnZWhlYWQ=?=
Guest
Posts: n/a
 
      13th Sep 2007
I have inherited an excel file filled to the brim with obsolete name
definitions, numbering in the hundreds.

I would like a macro that loops through these names, see where they refer
to, and if they refer to any #REF!, or a particular external file that no
longer exist, to delete the name itself.

Any help would be appreciated.
Thanks
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      13th Sep 2007
Get Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name
Manager:

You can find it at:
NameManager.Zip from http://www.oaltd.co.uk/mvp

hugehead wrote:
>
> I have inherited an excel file filled to the brim with obsolete name
> definitions, numbering in the hundreds.
>
> I would like a macro that loops through these names, see where they refer
> to, and if they refer to any #REF!, or a particular external file that no
> longer exist, to delete the name itself.
>
> Any help would be appreciated.
> Thanks


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?aHVnZWhlYWQ=?=
Guest
Posts: n/a
 
      20th Sep 2007
Thanks, I used it and believe it or not, the excel file had approximately
18,000 (eighteen thousand) invalid names.

The add-in took about 5 minutes just to display the list.

Cheers,

"Dave Peterson" wrote:

> Get Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name
> Manager:
>
> You can find it at:
> NameManager.Zip from http://www.oaltd.co.uk/mvp
>
> hugehead wrote:
> >
> > I have inherited an excel file filled to the brim with obsolete name
> > definitions, numbering in the hundreds.
> >
> > I would like a macro that loops through these names, see where they refer
> > to, and if they refer to any #REF!, or a particular external file that no
> > longer exist, to delete the name itself.
> >
> > Any help would be appreciated.
> > Thanks

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      20th Sep 2007
Wow! That's a lot of names and a lot of invalid names!

hugehead wrote:
>
> Thanks, I used it and believe it or not, the excel file had approximately
> 18,000 (eighteen thousand) invalid names.
>
> The add-in took about 5 minutes just to display the list.
>
> Cheers,
>
> "Dave Peterson" wrote:
>
> > Get Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name
> > Manager:
> >
> > You can find it at:
> > NameManager.Zip from http://www.oaltd.co.uk/mvp
> >
> > hugehead wrote:
> > >
> > > I have inherited an excel file filled to the brim with obsolete name
> > > definitions, numbering in the hundreds.
> > >
> > > I would like a macro that loops through these names, see where they refer
> > > to, and if they refer to any #REF!, or a particular external file that no
> > > longer exist, to delete the name itself.
> > >
> > > Any help would be appreciated.
> > > Thanks

> >
> > --
> >
> > Dave Peterson
> >


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Defined Names in Workbook Beaniecounter Microsoft Excel Worksheet Functions 3 18th Jan 2008 09:30 PM
Exceeding 65K of defined names within workbook causes workbook to go into repair mode when it is opened Ronald Dodge Microsoft Excel Programming 13 18th May 2007 02:24 PM
Renaming Invalid Defined Names P. Dua-Brown Microsoft Excel Programming 9 9th Jan 2006 12:38 PM
How to delete all defined names from a workbook? Dmitry Kopnichev Microsoft Excel Discussion 15 14th Nov 2005 03:26 PM
Deleting unused Defined Names in a workbook? =?Utf-8?B?TWlrZSBQaWF6emE=?= Microsoft Excel Programming 0 13th May 2005 03:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:28 AM.