Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if Excel Workbook is already opened
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 5
Miscellaneous
Thread ID:
01209471
Message ID:
01214235
Views:
12
Glad to help.

>Thanks, works perfect !
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform