Edytuj

Udostępnij za pośrednictwem


_Application.FileValidation Property

Definition

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.

Applies to