Although I would rather check if the workbook is open on the network, and never open is if it is, I haven't been able to figure out how to do that on a file with a variable filename.
As an alternate solution, I have the following code, that opens the workbook, checks the read only status, and closes it immediately if read only is true.
The problem is, by default, the workbook opens with notification when the workbook becomes available, so when the workbook is closed the user gets a message "...Workbook is now available for editing." How can I disable this alert, so that the workbook just closes with no further activity required by the user?
By the way, I'm still interested in not taking the time to open the workbook if it is in use, if we can find a way to do it with the variable filename used above.
Thanks in advance!
Bookmarks