+ Reply to Thread
Results 1 to 5 of 5

Run Module1 first then automatically run Module2

  1. #1
    Bowbender@gmail.com
    Guest

    Run Module1 first then automatically run Module2

    This is probably simple but I have two modules that I had to break up
    because it was too large. Anyway, I cannot figure out what object or
    syntax or whatever to use to go to Module2 when it is done with Module
    one. Could someone point me in the right direction.

    Thanks in advance,

    Bowbender


  2. #2
    Bob Phillips
    Guest

    Re: Run Module1 first then automatically run Module2

    Not modules but macros.

    Call the macros in Module 2 from the last macro in module 1.

    --
    HTH

    Bob Phillips

    <Bowbender@gmail.com> wrote in message
    news:1127230069.742606.97300@g43g2000cwa.googlegroups.com...
    > This is probably simple but I have two modules that I had to break up
    > because it was too large. Anyway, I cannot figure out what object or
    > syntax or whatever to use to go to Module2 when it is done with Module
    > one. Could someone point me in the right direction.
    >
    > Thanks in advance,
    >
    > Bowbender
    >




  3. #3
    Bowbender@gmail.com
    Guest

    Re: Run Module1 first then automatically run Module2

    Sorry bout that, I am in no way any sort of expert. How would you call
    it exactly, I am really lost here.

    Thanks


  4. #4
    John
    Guest

    Re: Run Module1 first then automatically run Module2

    Sub RunAllMacros()
    Call Macro1 '(or whatever the first macro name is)
    Call Macro2 '(or whatever the second macro is)
    end sub

    ps - Macros are stored in modules, you cannot call a module... only a macro

    hope this helps


    "Bowbender@gmail.com" wrote:

    > Sorry bout that, I am in no way any sort of expert. How would you call
    > it exactly, I am really lost here.
    >
    > Thanks
    >
    >


  5. #5
    Bowbender@gmail.com
    Guest

    Re: Run Module1 first then automatically run Module2

    Sorry, found it. It seems if you place the name of the macro inside
    the other, it will run it. Man do I feel dumb.

    Thanks again.


+ 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