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.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public Color TabColor{ get; set; }
</pre></td></tr></table>
<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