Hi.
I wonder if there is possible to find the username that is blocking a document from beeing opened in write mode, using vba code.
I have a macro that opens a document for updating some information fields. This is not possible if another person is using the same document. I can not use "shared" function on the document since this is not an option for the sheet.
I can see that a dialog box appears telling me that user xxxyyy is using the document and that it is opened in protection mode. But I can't find the correct code for this.
Thanks.
I wonder if there is possible to find the username that is blocking a document from beeing opened in write mode, using vba code.
I have a macro that opens a document for updating some information fields. This is not possible if another person is using the same document. I can not use "shared" function on the document since this is not an option for the sheet.
I can see that a dialog box appears telling me that user xxxyyy is using the document and that it is opened in protection mode. But I can't find the correct code for this.
Thanks.