Редагувати

Поділитися через


Document.ReadOnlyRecommended property (Word)

True if Microsoft Word displays a message box whenever a user opens the document, suggesting that it be opened as read-only. Read/write Boolean.

Syntax

expression. ReadOnlyRecommended

expression A variable that represents a Document object.

Example

This example sets Word to suggest, when it is opening the document, that the document be opened as read-only.

ActiveDocument.ReadOnlyRecommended = True

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.