+ Reply to Thread
Results 1 to 6 of 6

List Procedures (Subs's, Functions and Parameters)

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    Portugal
    MS-Off Ver
    XL2013/XL365
    Posts
    88

    List Procedures (Subs's, Functions and Parameters)

    Hi

    With the help of Mathieu Guindon and the site http://www.cpearson.com/Excel/MainPage.aspx, I was able, by copying and pasting some subroutines, to have a list of all existing procedures (Sub's and Functions, with the parameters) in the various modules of my application.



    As I said, I just copied and pasted the subroutines, I don't know how to clean up all the "junk" that doesn't matter in the code and make the code cleaner.



    Another thing I was unable to do was write at the beginning of each module, which procedures the module contains, that is, instead of listing the procedures of each module on a spreadsheet, I would like to list at the beginning of each module.



    So the help I ask for is:

    1) Help to clean the code, making it as clean as possible;

    2) Possibility to write the respective existing procedures directly on each module. (As the picture shows)
    Img1.png



    The attached file lists all procedures on a spreadsheet,

    Thank you

    Jorge

    PS: Also in : https://www.ozgrid.com/forum/index.p...nd-parameters/
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-14-2013
    Location
    Austria
    MS-Off Ver
    2016 / 2019
    Posts
    339

    Re: List Procedures (Subs's, Functions and Parameters)

    the change part in RED shows the addon. All code related to worksheet output I changed to comments
    There is also a check inside which prevents to add the same stuff a second time.
    If you later add or change a procedure you have to remove the description first
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-04-2014
    Location
    Portugal
    MS-Off Ver
    XL2013/XL365
    Posts
    88

    Re: List Procedures (Subs's, Functions and Parameters)

    Quote Originally Posted by gue2013 View Post
    the change part in RED shows the addon. All code related to worksheet output I changed to comments
    Great!

    Quote Originally Posted by gue2013 View Post
    There is also a check inside which prevents to add the same stuff a second time.
    Fantastic!

    Quote Originally Posted by gue2013 View Post
    If you later add or change a procedure you have to remove the description first
    Perfect!


    You just have done what a lot of people say that is not possible.

    Thank you so much
    Jorge Cabral

  4. #4
    Valued Forum Contributor
    Join Date
    01-14-2013
    Location
    Austria
    MS-Off Ver
    2016 / 2019
    Posts
    339

    Re: List Procedures (Subs's, Functions and Parameters)

    welcome

  5. #5
    Registered User
    Join Date
    04-10-2020
    Location
    greece
    MS-Off Ver
    2016
    Posts
    2

    Re: List Procedures (Subs's, Functions and Parameters)

    I've found this very interesting and useful. Thank you.

  6. #6
    Registered User
    Join Date
    11-04-2014
    Location
    Portugal
    MS-Off Ver
    XL2013/XL365
    Posts
    88

    Re: List Procedures (Subs's, Functions and Parameters)

    Quote Originally Posted by paperfold View Post
    I've found this very interesting and useful. Thank you.
    It is curious because it seems that there are only two of us who find this interesting and useful.
    Fortunately gue2013 solved the problem

+ 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. Functions, procedures and sub procedures - when to choose what?
    By tiwas in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-01-2015, 09:00 AM
  2. [SOLVED] Passing variables between subs/functions
    By mattmc419 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2015, 05:20 PM
  3. Help calling functions to sub procedures
    By xXNetRavenXx in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-27-2010, 01:47 PM
  4. [SOLVED] Call SQL Server Stored Procedures with parameters,
    By KCSL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2006, 12:10 PM
  5. [SOLVED] Finding Unreferenced Subs and Functions
    By Josh Sale in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2006, 07:15 PM
  6. Common Functions and Subs
    By rbnorth in forum Excel General
    Replies: 3
    Last Post: 02-15-2006, 06:10 PM
  7. [SOLVED] Called subs versus functions
    By Neal Zimm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2005, 02:08 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