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".
In my context file should not be opened at all if already in use.
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".
In my context file should not be opened at all if already in use.
Does anyone know the code to detect if shared file is already in use by someone-else?
Thank you very much in advance