Sets or returns the color of the worksheet's sheet name tab. SettingĀ the color to an automatic color will set theĀ color to no color.
public Color TabColor{ get; set; }
Public Property TabColor() As Color
//--- Set TabColor ws.TabColor = wb.Palette.GetClosestColor(System.Drawing.Color.Red); //--- Get TabColor Color tabClr = ws.TabColor;
'--- Set TabColor ws.TabColor = wb.Palette.GetClosestColor(System.Drawing.Color.Red) '--- Get TabColor Dim tabClr As Color = ws.TabColor