+ Reply to Thread
Results 1 to 3 of 3

Call another subroutine when current routine ends

  1. #1
    Registered User
    Join Date
    08-02-2006
    Posts
    25

    Call another subroutine when current routine ends

    This is a very basic VBA questions for a newbie. I can't seem to find this in the general tips.

    I wish to create a module for each sheet. My plan is to organize all the formatting for each sheet into its own module. What I don't yet understand is how to call the next module or subroutine after the current module/subroutine has completed. Is there a GOTO command or something similar? While we're at it, any good website references where I can learn about this stuff on my own? Thanks!

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Enter this right before "End Sub" in your code:

    Application.Run "macroname"

    This will start the next macro.

    Check the Excel Miscellaneous forum. The first post is a sticky thread with tons of Internet links.

  3. #3
    Registered User
    Join Date
    08-02-2006
    Posts
    25
    Thanks jasoncw!

+ 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