Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Is there a VBA command to check if a workbook is already open? I want to be able to see if the workbook is already open before even attempting to open it. Basically, I want the system to wait 5 seconds and then re-check. If file is open, wait 5 seconds and retry. If not open, then open it. The file in question is literally opened, an entry added, then saved and closed, all in a macro. It is a quick operation, but nonetheless I need to ensure that no one else can open the file, even in read-only mode, even if there is only a very remote chance that they could. Thanks in anticipation. -- Cumberland ------------------------------------------------------------------------ Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445 View this thread: http://www.excelforum.com/showthread...hreadid=574066 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA to check is someone else has a workbook open | Excel Discussion (Misc queries) | |||
If Then to check if a workbook is open | Excel Discussion (Misc queries) | |||
Check if workbook open | Excel Discussion (Misc queries) | |||
How check if workbook open? | Excel Programming | |||
Check for open workbook | Excel Programming |