Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
(Excel 2003)
I've seen information on this but still confused. On a company network, I have Master.xls in a folder accessable by many users. Another workbook, Slave.xls, uses VBA to open Master.xls from the network. I want ... a) ...Master.xls to open editable if NOT currently opened editable by other users. (Users having it open as read-only is irrelevant.) b) ...to run other code if Master.xls IS currently opened editable by another user. (Users having it open as read-only is irrelevant.) I've seen some code that first checks if the file is open. Is there any way to perform this check by simply trying to open the file (as in my scenario above)? I'm afraid in the split second between checking and opening, another user might open it. Also, I'm not sure if the other code I found was applicable on a network with many users. It sounded more like it was being used on an local machine and checking if a file was open in their session of Excel. Thanks in advance if anyone can get me started. -Chuck |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ON OPEN VBA Code input incorrectly now excel sheet wont open | New Users to Excel | |||
Opening Excel, Book1 opens, remains open with other workbook open | Excel Discussion (Misc queries) | |||
excel 2003 saved file will not open without a blank workbook open | Excel Discussion (Misc queries) | |||
workbooks.open function fails to open an existing excel file when used in ASP, but works in VB. | Excel Programming | |||
Open email windows can't open, excel shreadsheet file .xls ? | Excel Discussion (Misc queries) |