Skip to main content
Skip table of contents

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')
In the parameter: Is_Open now is set to 0 or 1

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.