ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   synchronisation beetween two excel instances (https://www.excelbanter.com/excel-programming/329165-synchronisation-beetween-two-excel-instances.html)

[email protected]

synchronisation beetween two excel instances
 
Hello

I am working on an application with two excel files.

In an excel file (file1) I execute one macro (macro1).
Firstly, macro1 must open another excel file (file2), once file2 is
open I want to suspend macro1 to give time to the user to make some
modifications on file2. When the modifications are done, the user will
press on a button and resume macro1.

The main problem seems to stop the code of file1 while I am working in
file2, and then coming back to file1 and continue with the execution of
macro1

I have some ideas about the solution:
- Using an ActiveX server
- Process synchronisation using WaitForSingleObject
- Mutex

Does anybody have an idea?

Thanks



All times are GMT +1. The time now is 06:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com