Problem : file with two readwrite instances opened

louisH

Board Regular
Joined
Mar 14, 2018
Messages
152
Hello.

I've been faced with a problem a couple times now which isn't even listed in MS's help :

I have a bunch of .xlsm files that me and my colleague are working with on a local network folder. (\\folder1\...)
They are not shared workbooks, so naturally only 1 user can open it at a time.

However sometimes when the user opens the file for a long time, another user can open it in readwrite mode, so when someone saves the file, the progress the other user made may be lost.
These files have in common a Worksheet_BeforeSave macro that just does a copy of this workbook in another folder via ThisWorkbook.SaveCopyAs but I don't see why this would be a problem...

I suspected, when the long-time user's PC goes in sleep mode or whatever, the temporary $filename.xlsm (invisible) file gets deleted or Something ?

If anyone that knows well Windows & Excel that could give me any clue on how to solve this I would appreciate.

Thank you for taking the time to read.

Louis
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top