_Application.FileValidation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets how Microsoft Excel will validate files before opening them.
public:
property Microsoft::Office::Core::MsoFileValidationMode FileValidation { Microsoft::Office::Core::MsoFileValidationMode get(); void set(Microsoft::Office::Core::MsoFileValidationMode value); };
public Microsoft.Office.Core.MsoFileValidationMode FileValidation { get; set; }
Public Property FileValidation As MsoFileValidationMode
Property Value
A MsoFileValidationMode object.
Remarks
Read/write.
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.