Skip to main content
Skip table of contents

f$Word: Option


f$Word: Option

Set an option in Word. Currently only the option AllowReadingMode is supported. In Word 2013, this option controls if email attachments and other non-editable files are opened in reading mode. If the templates of the document generation are assessed as not editable, this implies that not all functions of the Word interface can be executed. To guarantee a correct document generation this option has to be turned off.

Syntax:

Status = f$Word('Option', Option name , Option value)

 

Argument

Type

Meaning

 

Option

String

Keyword

 

Option name

String

The keyword:
'AllowReadingMode'

 

Option value

String

'0' , to deactivate the option

Using '1' the option can be deactivated again. However, this is not recommended.

Result:

Integer

0: Command successfully executed

-1: the command has caused an error (Word version?)

Example:

Status = f$Word('Option','AllowReadingMode','0')

JavaScript errors detected

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

If this problem persists, please contact our support.