JustJohn91
New Member
- Joined
- Apr 4, 2016
- Messages
- 11
Hi All,
Ive searched and searched and cant find an answer to my query. If it has been answered already please point me in the right direction.
I have a shared excel workbook where multiple staff could be in at the same time. Staff input and update data via a userform. To populate the excel sheet with the data from the userform, the workbook is saved (To update to latest version of data), the data is populated and the workbook is saved again. The entire process takes 2-3 seconds. However, if a staff member has another excel workbook open, this time can increase.
If User A presses the save button, and User B the presses the save button before User A's process has completed, the sheet is locked for editing and User B's data isnt entered and is lost.
Is there a way to identify that the sheet is locked for editing and to wait and check again in 5 seconds?
Thanks In Advance,
John
Ive searched and searched and cant find an answer to my query. If it has been answered already please point me in the right direction.
I have a shared excel workbook where multiple staff could be in at the same time. Staff input and update data via a userform. To populate the excel sheet with the data from the userform, the workbook is saved (To update to latest version of data), the data is populated and the workbook is saved again. The entire process takes 2-3 seconds. However, if a staff member has another excel workbook open, this time can increase.
If User A presses the save button, and User B the presses the save button before User A's process has completed, the sheet is locked for editing and User B's data isnt entered and is lost.
Is there a way to identify that the sheet is locked for editing and to wait and check again in 5 seconds?
Thanks In Advance,
John