Partager via


_Workbook.DefaultSlicerStyle Property

Gets or sets the style from the TableStyles object that is used as the default style for slicers.

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

Syntax

'Declaration
Property DefaultSlicerStyle As Object
    Get
    Set
'Usage
Dim instance As _Workbook
Dim value As Object

value = instance.DefaultSlicerStyle

instance.DefaultSlicerStyle = value
Object DefaultSlicerStyle { get; set; }

Property Value

Type: System.Object
The style from the TableStyles object that is used as the default style for slicers.

Remarks

Read/write.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace