+ Reply to Thread
Results 1 to 3 of 3

VBA Code Analysis Cross-Reference Tool?

  1. #1
    Registered User
    Join Date
    01-07-2008
    Posts
    38

    VBA Code Analysis Cross-Reference Tool?

    Is there a VBA cross-reference program anywhere?
    I'm looking for one that references all of a VBA module's subroutine names, variable names, line numbers, declarations (if any)... I'm working in Excel 2011, but I'm sure one for Word or another version would be satisfactory.
    Or must I write my own?

    Thanks,
    Chuck

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: VBA Code Analysis Cross-Reference Tool?

    I found this code that will list all procedures. If you don't find something that will list variables I might be interested in helping to write it. It's not hard to list declared variables but finding undeclared variables requires an effort tantamount to writing a VBA parser.

    Also I'm kind of wondering about the "...".

    https://www.vitoshacademy.com/vba-li...n-all-modules/


    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: VBA Code Analysis Cross-Reference Tool?

    I've been dribbling this out since October. Hopefully you will find it helpful. I'm not completely done but this has most of what you described (no line numbers).

    First you must open the .xlsm file you want to analyze. Then click the button on Control and select the desired VBA project.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] trying to create a cross reference tool with Vlookup formulas
    By yonsei in forum Office 365
    Replies: 15
    Last Post: 12-19-2019, 02:03 PM
  2. analysis tool
    By Alex in forum Excel General
    Replies: 5
    Last Post: 05-10-2006, 05:30 PM
  3. Where is data analysis tool?
    By tamorn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  4. Where is data analysis tool?
    By tamorn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. Where is data analysis tool?
    By tamorn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. [SOLVED] Where is data analysis tool?
    By tamorn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. Where is data analysis tool?
    By tamorn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-06-2005, 11:05 AM

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