Scanning Code

  • Thread starter Thread starter Adept
  • Start date Start date
A

Adept

I would like to take each item in the .Names collection and check my code
to determine if I am actually using the Defined Name.

I can use ListNames to get the names, I know. But how can I iterate thru
the array and look for matches?

I suspect I need to use some form of an automated+ACI-FIND+ACI- .

Any suggestion appreciated.

The Old Grey Geek
--


The Old Grey Geeks' Lament

And we carried our bits in a bucket,
And our mainframe weighed 900 tons,
And we programmed in ones and in zeros
And sometimes we ran out of ones.
 
Get a copy of 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

Remember that even if you find your name isn't used in any worksheet formula, it
may be used in your VBA code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top