+ Reply to Thread
Results 1 to 4 of 4

displaying only the main subroutine without displaying all called subroutines

  1. #1
    Registered User
    Join Date
    01-26-2010
    Location
    united states
    MS-Off Ver
    Excel 2003/Excel 2007
    Posts
    27

    displaying only the main subroutine without displaying all called subroutines

    Currently I have a VBA program which calls numerous subroutines. When the user goes to run the macro, all the subroutine names show up. Is there a why to only have the MAIN subroutine display for user to select from without displaying all the all subroutines that are called?
    Last edited by mcg7@ntrs.com; 01-27-2010 at 02:10 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: displaying only the main subroutine without displaying all called subroutines

    Be sure to edit that post above,
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: displaying only the main subroutine without displaying all called subroutines

    Hi,

    Why not just add a button which is linked to the Main procedure and avoid the user having to run the macro from the menu options.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    01-26-2010
    Location
    united states
    MS-Off Ver
    Excel 2003/Excel 2007
    Posts
    27

    Re: displaying only the main subroutine without displaying all called subroutines

    Thanks for the great suggestions. This is a great help.

+ 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