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:
01209478
Vues:
27
This message has been marked as the solution to the initial question of the thread.
>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.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform