My VBA-programs use shared files for reading and writing.
When shared file is already in use, application stops, micosoft window appears with remark "file already in use" and question "would you like to open a read-only copy". I do not want users to be confronted to this message. Does anyone know the code to detect if shared file is already in use by someone-else?
Thank you very much in advance
When shared file is already in use, application stops, micosoft window appears with remark "file already in use" and question "would you like to open a read-only copy". I do not want users to be confronted to this message. Does anyone know the code to detect if shared file is already in use by someone-else?
Thank you very much in advance