Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Finding Unreferenced Subs and Functions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Josh Sale - 23 Mar 2006 23:53 GMT
I have a fairly large add-in that has had a lot of people's hands in it.  I
was wondering if anybody knew of a utility that would analyze the add-in to
try and find unreferenced Subs and Functions?

I say "try" because I understand that the kind of static analysis such a
utility would perform would necessarily be imperfect.  Still I would love to
have the recommendations from such a utility to guide my cleanup effort.

TIA,

josh
Zack Barresse - 24 Mar 2006 00:07 GMT
Hi there,

Check out M-Z Tools.  It will find unused variables and such and it will
give you listings of unused procedures.  From the VBE, Tools | MZ Tools |
Other Utilities | Review Source Code.

HTH

Signature

Regards,
Zack Barresse, aka firefytr
To email, remove NOSPAM

>I have a fairly large add-in that has had a lot of people's hands in it.  I
>was wondering if anybody knew of a utility that would analyze the add-in to
[quoted text clipped - 8 lines]
>
> josh
Zack Barresse - 24 Mar 2006 00:10 GMT
Also, beware when it says a procedure is unused.  If the procedure is called
via string syntax, i.e. Application.Run method, then it will not pick it up.

Signature

Regards,
Zack Barresse, aka firefytr
To email, remove NOSPAM

>I have a fairly large add-in that has had a lot of people's hands in it.  I
>was wondering if anybody knew of a utility that would analyze the add-in to
[quoted text clipped - 8 lines]
>
> josh
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.