+ Reply to Thread
Results 1 to 2 of 2

Scanning Code

  1. #1
    Adept
    Guest

    Scanning Code

    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.


  2. #2
    Dave Peterson
    Guest

    Re: Scanning Code

    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.

    Adept wrote:
    >
    > 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.


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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