Partager via


PivotTable.VacatedStyle Property

Returns or sets the style applied to cells vacated when the PivotTable report is refreshed. The default value is a null string (no style is applied by default). Read/write String.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property VacatedStyle As String
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As String

value = instance.VacatedStyle

instance.VacatedStyle = value
string VacatedStyle { get; set; }

Property Value

Type: System.String

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace