+ Reply to Thread
Results 1 to 3 of 3

Issues to execute two macros on two separate workbooks (but same macros) on the same time

  1. #1
    Registered User
    Join Date
    04-12-2017
    Location
    paris
    MS-Off Ver
    2016 pro
    Posts
    4

    Issues to execute two macros on two separate workbooks (but same macros) on the same time

    Hi,

    first, I write from Paris so apologizes for my english.

    I try to launch two macros on the same time with Excel 2016. the 2 macros are located into two separate workbook and do the same code. It works in excel2007.

    I have already tried to launch each workbook into new excel instance but even with that, the two macros block themselves.

    Here is the code of the macros :

    Please Login or Register  to view this content.
    ' Alm is a other macro into another file to be executute


    One excel file will call Lancement_simul() with Model as file1.xlsm

    second excel file will call Lancement_simul() with Model as file2.xlsm

    Separately, the both executions are ok. on the same time (but into two excel different instances), the macros blocked.

    any ideas, how can I solve my issues?

    thanks for your future answers.

    Rgds,
    seb
    Last edited by seb92; 04-13-2017 at 02:56 AM.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Issues to execute two macros on two separate workbooks (but same macros) on the same t

    When you joined the forum recently you agreed to abide by the Forum Rules, but in haste I fear you might not have actually read them. Please stop and take a moment to read them now. We all follow these rules for the benefit of all, as must you. Thanks.

    (link above in the menu bar)


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    04-12-2017
    Location
    paris
    MS-Off Ver
    2016 pro
    Posts
    4

    Re: Issues to execute two macros on two separate workbooks (but same macros) on the same t

    Hi,

    I have corrected my first post following the forum rules.

    Hope that it will be ok now.

    Any ideas about my issues

    seb

+ 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. [SOLVED] Can I Show a UserForm While Other Macros Execute?
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2014, 01:38 PM
  2. [SOLVED] Getting Run time error '9' from macros in similar workbooks.
    By garysallred in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2014, 08:38 AM
  3. Trying to execute 2 macros in 2 separate cells
    By pagnasty1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-30-2012, 11:42 PM
  4. Execute multiple macros (4) simultaneously?
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2010, 05:38 PM
  5. Execute a macros every 5 seconds
    By suppa_buster in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-30-2007, 04:01 AM
  6. [SOLVED] Execute Macros from Other workbooks on current workbook
    By Allen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2006, 09:10 PM
  7. [SOLVED] Execute Macros through Hyperlinks.
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-18-2006, 06:10 AM

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