共用方式為


Application.FileValidation Property (Excel)

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

Version Information

Version Added: Excel 2010

Syntax

expression .FileValidation

expression A variable that represents an Application object.

Return Value

MsoFileValidationMode

Remarks

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.

請參閱

概念

Application Object Members

Application Object