TableStyle.ShowAsAvailableTableStyle Property
Returns or sets a table style shown as available in the table styles gallery. Read/write.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ShowAsAvailableTableStyle As Boolean
Get
Set
'Usage
Dim instance As TableStyle
Dim value As Boolean
value = instance.ShowAsAvailableTableStyle
instance.ShowAsAvailableTableStyle = value
bool ShowAsAvailableTableStyle { get; set; }
Property Value
Type: System.Boolean
Boolean
Remarks
If True, this style is shown in the gallery for table styles.
You can set this property to False even when the style is already applied to a table. In this case the gallery will not show the style and when the active cell is in that table, no style is shown as selected.