Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if Excel Workbook is already opened
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 5
Divers
Thread ID:
01209471
Message ID:
01209479
Vues:
18
>>Hi All,
>>
>>Using Excel automation I want to open an Excel Workbook if it is not already open. How to check for this?
>>
>>Thanks beforehand.
>
>AFAIK the simplest way to check is to open with low-level fopen function. However, there is a very tiny chance of having the file opened by someone while you're testing for this.

Also found this thread Re: How can I check if excel File is open before writing to Thread #812502 Message #812506
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform