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.
<p> public Color TabColor{ get; set; }</p>
<p>Public Property TabColor() As Color</p>
//--- 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