+ Reply to Thread
Results 1 to 6 of 6

Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

  1. #1
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Is there a way to run Microsoft Excel Objects "sheet 1" Macro which copies designated row from sheet 1 to Sheet 3 then automatically runs Module 1 which is a sort Macro? (See codes below)

    Please Login or Register  to view this content.
    [/CODE]
    Last edited by ElmerFud; 09-13-2014 at 11:55 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Where's the code that copies from Sheet1 to Sheet3?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Quote Originally Posted by Norie View Post
    Where's the code that copies from Sheet1 to Sheet3?
    Sorry, Sheet 1 is named "3 Digit" and Sheet 3 is named "Current Job List"

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    you mean add
    Please Login or Register  to view this content.
    to the end of the selection change event?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  5. #5
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Quote Originally Posted by JosephP View Post
    you mean add
    Please Login or Register  to view this content.
    to the end of the selection change event?
    Well for some reason it hangs at in sheet 3 called "Current Job List".
    Please Login or Register  to view this content.
    Sheet 1 called "3 Digit" has it's own automatic macro using Marlette "a" in column A to automatically copy row over to sheet 3 "Current Job List" which it has a button to click and sort the rows (see above code in first request). I'm just trying to figure out if there's a way to automatically have it sort without having to click the button each time a row from another sheet is copied over to the "Current Job List". I need to use both existing codes above to work together one after the other. Sorry if I'm rambling on not sure I'm getting my point across very well.
    Last edited by ElmerFud; 09-13-2014 at 07:49 PM.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

  7. #7
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Duplicate post sorry!

  8. #8
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Need to run "sheet 1" Marco first then automatically run "Module 1" afterwards?

    Quote Originally Posted by Norie View Post
    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    Enclosed is an example of "Current Job List" that's working fine. I just would like it to copy the designated row over to the "Current Job List" then sort automatically rather than clicking on the "Sort" button. Also, if possible to recognize duplicates if the row has already been transferred.

    Attachment 345275

+ 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. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  4. Replies: 5
    Last Post: 06-26-2006, 09:23 PM
  5. Replies: 7
    Last Post: 05-13-2006, 05:02 PM

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