Application.FileValidation property (Word)

Returns or sets how Word will validate files before opening them. Read/write MsoFileValidationMode.

Syntax

expression. FileValidation

expression A variable that represents an Application object.

Return value

MsoFileValidationMode

Remarks

Files that don't pass validation will be opened in a Protected View window. The FileValidation property is per session only. If you set the FileValidation property, that setting will remain in effect for the entire session the application is open.

See also

Application 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.