Hi
I have a spreadsheet that takes along time to run and I need to perform several runs of it. I want to run the tests in multiple instances of Excel so that they can run at the same time.
I have got the code working to open new instances of Excel, open the copy of the spreadsheet andcall the macro I want calling. However when doing this it won’t open the nextworkbook until the macro has finished so doesn’t save any time.
I decided to add a Workbook_Open to call the macro insteadwithin the workbook I am opening but this isn’t activated when I open theworkbook using code but works if I open it manually.
Is there a way around this so the workbook can be opened,the macro called and another workbook being opened before the macro hasfinished running in the 1st one?
I have a spreadsheet that takes along time to run and I need to perform several runs of it. I want to run the tests in multiple instances of Excel so that they can run at the same time.
I have got the code working to open new instances of Excel, open the copy of the spreadsheet andcall the macro I want calling. However when doing this it won’t open the nextworkbook until the macro has finished so doesn’t save any time.
I decided to add a Workbook_Open to call the macro insteadwithin the workbook I am opening but this isn’t activated when I open theworkbook using code but works if I open it manually.
Is there a way around this so the workbook can be opened,the macro called and another workbook being opened before the macro hasfinished running in the 1st one?