Hi
I have an excel document stored on sharepoint that will be used by all of my colleagues.
However even though people have had the sufficient training on sharepoint people still manage to open an excel document on sharepoint as read only and do a few hours of work then cannot save the data due to it being in read only mode.
How can i bring message box up if the document opened via sharepoint is read only and close the application for them to re open it as the correct format... currently i am using this code and it does not work.
Thanks in advance
L
I have an excel document stored on sharepoint that will be used by all of my colleagues.
However even though people have had the sufficient training on sharepoint people still manage to open an excel document on sharepoint as read only and do a few hours of work then cannot save the data due to it being in read only mode.
How can i bring message box up if the document opened via sharepoint is read only and close the application for them to re open it as the correct format... currently i am using this code and it does not work.
Code:
Private Sub Workbook_Open()
If Me.ReadOnly = True Then
MsgBox "This is a read only document. Please open this document as "Checkout and Edit'"
End If
End Sub
Thanks in advance
L