Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Wise Ones,
I am wanting to prompt users to open the required file if not already open. There is some nearly-helpful answers in these posts, but I can't quite achieve what I want. This code of mine is useless because errorMsgs executes whether error or not. Set rotaBk = Workbooks("EAA.xls") rotaBk.Activate On Error GoTo errorMsgs errorMsgs: MsgBox ("Open EAA.xls ") Exit Sub If I try to put a condition on error handling execution: If error then MsgBox ("Open EAA.xls " & error) exit sub end if I get a "type mismatch" in the error MsgBox As always, help most appreciated, matilda |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User replaces existing file with blank during file open | Excel Discussion (Misc queries) | |||
File is already open by user X | Excel Discussion (Misc queries) | |||
not being prompted that user has file open | Excel Discussion (Misc queries) | |||
How to ask user for file to open | Excel Programming |