+ Reply to Thread
Results 1 to 5 of 5

Simplify four macros to one button.

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Simplify four macros to one button.

    Is it possible to merge these 4 vba scripts into one macro so that they would all happen at the push of one button.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    THANKS!

  2. #2
    Registered User
    Join Date
    03-30-2011
    Location
    Northampton, England
    MS-Off Ver
    MS Office 2010 Professional Plus
    Posts
    14

    Re: Simplify four macros to one button.

    Hi,

    Could you not just call each sub within the on click event? so:

    call CashSheet1
    call TransferToSheet3
    call Fee
    call PL

    The it will run them in that order.

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Simplify four macros to one button.

    You will have to forgive me, the person who built this book doesn't work here anymore and I am rather limited in my macro abilities. Would it look something like this?
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-30-2011
    Location
    Northampton, England
    MS-Off Ver
    MS Office 2010 Professional Plus
    Posts
    14

    Re: Simplify four macros to one button.

    Yes exactly like that (or below) then it will run each section when the other section has completed.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Simplify four macros to one button.

    Thanks for the 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