Application.FileValidation Property (Excel)
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Application.FileValidation Property (Excel)

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

Version Added: Excel 2010

expression .FileValidation

expression A variable that represents an Application object.

Return Value

Files that do not pass validation will be opened in a Protected View window. If you set the FileValidation property, that setting will remain in effect for the entire session the application is open.

© 2016 Microsoft