Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have identified the relevant threads and have read the pages in the
microsoft support website. Experts, please share with me: From reading the code I understand that the procedure is not full-proof. A function IsFileOpen attempts to open a file for I/O. It then closes it and returns TRUE if an error was produced while attempting to open. Then, the attempt to open at Excel-level is done through invocation of IsFileOpen in an IF. In other words, broadly speaking, we have the following sequence of events: Open at I/O level. Close at I/O level. Workbook.Open Thus, it is possible that between the Close and Workbook.Open someone else has opened the file. Am I correct? Am I missing something? Is there a full-proof way to open a file exclusively for write and then use object libraries with it? Regards, Kostis Vezerides |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how can i open the write protected excel file? | Excel Discussion (Misc queries) | |||
HOW TO OPEN A WRITE PROTECTED FILE (USB) | Excel Discussion (Misc queries) | |||
Need to write a program to open a filename... | Excel Programming | |||
Write in the spreadsheet having a form open | Excel Programming | |||
Is this right (open for write access) | Excel Programming |