f$Word: Open document
f$Word: Open document
Check if a document with the indicated name is opened. 0 (not opened), or 1 (document is opened) is written to the transmitted parameter.
Syntax: | Status = f$Word('Check Document open','Document name','Parameter name') | ||
| Argument | Type | Meaning |
| Document opened | String | Keyword |
| Document name | String | Name of the document. |
| Parameter name | String | Name of the parameter which the result is saved to |
Result: | Integer | 0: Command successfully executed -1: Word is not active. | |
Example: | Status = f$Word('Check Document open','offer.doc','Is_Open') | ||