XlFileValidationPivotMode Enumeration
Specifies how to validate the data caches for PivotTable reports.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Enumeration XlFileValidationPivotMode
'Usage
Dim instance As XlFileValidationPivotMode
public enum XlFileValidationPivotMode
Members
Member name | Description | |
---|---|---|
xlFileValidationPivotDefault | Validate the contents of data caches as specified by the PivotOptions registry setting (default). | |
xlFileValidationPivotRun | Validate the contents of all data caches regardless of the registry setting. | |
xlFileValidationPivotSkip | Do not validate the contents of data caches. |
Remarks
This enumeration is used to specify the setting of the FileValidationPivot property of the _Application object.
The effect of the xlFileValidationPivotDefault setting is controlled by the PivotOptions registry value, which is set in the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Security\FileValidation. The PivotOptions value is a DWORD value that can be set as listed in the following table.
PivotOptions value |
Description |
---|---|
0 |
Never validate PivotTable report data caches. (Not recommended) |
1 |
Validate PivotTable report data caches in the following cases (Default setting):
|
2 |
Validate all PivotTable report data caches. |