Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
I need help with the following please. Check if myFile is open/closed, if it is open flash up a MsgBox displaying ( if possible ) the user's identification. There are some users in the office that have memory-holes between their ears and leave files open after they have accessed and finished with them. This specific file is backed up to at the end of each day and upsets the whole process ( if left open ), when others forget to close it. Something like: If Workbook.myFile is open then Msg("This person has the file open", vbOkOnly) Cancel = True Else ' Do my other stuff I would like to have this run the check first so the user can cancel the rest of the code if it is in use by someone else. He/She then can ask the current user to close the file and continue. Thx heaps in advance Mick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Further to my last thread - Check for worksheet in a closed file | Excel Programming | |||
checking file already open status | Excel Programming | |||
VBAProject remains open after file is closed | Excel Discussion (Misc queries) | |||
Check file open status | Excel Programming | |||
VBA - on a button event, open another closed file, post changes, close file | Excel Programming |