Hello,
I`m running a excel dokument that`s beeing used by 3 people randomly trough the day. When the dokument is opened it will start autosaving every 10 minute.. but i am getting error message when the "timers" meet or one of them opens the dokument at the same time. is there any way to ignore the message, and try to autosave again? without the meacro to stop running? atm i dont remember the error message, but i think its "Locked for editing by another user" or "Locked for editing". Reason for not posting the dokument is because the information on that one cannot be shared because its a facktory dokuement
This is the macro i`m running
Private Sub Workbook_Open()
SaveThis
End Sub
To autostart the macro
Sub SaveThis()
Application.DisplayAlerts = False
ThisWorkbook.Save
Application.OnTime Now + TimeValue("00:05:00"), "SaveThis"
End Sub
is the macro
Mvh
Mette
I`m running a excel dokument that`s beeing used by 3 people randomly trough the day. When the dokument is opened it will start autosaving every 10 minute.. but i am getting error message when the "timers" meet or one of them opens the dokument at the same time. is there any way to ignore the message, and try to autosave again? without the meacro to stop running? atm i dont remember the error message, but i think its "Locked for editing by another user" or "Locked for editing". Reason for not posting the dokument is because the information on that one cannot be shared because its a facktory dokuement
This is the macro i`m running
Private Sub Workbook_Open()
SaveThis
End Sub
To autostart the macro
Sub SaveThis()
Application.DisplayAlerts = False
ThisWorkbook.Save
Application.OnTime Now + TimeValue("00:05:00"), "SaveThis"
End Sub
is the macro
Mvh
Mette