[COLOR=darkblue]Sub[/COLOR] ChangeTabColour()
[COLOR=darkblue]Dim[/COLOR] ws [COLOR=darkblue]As[/COLOR] Worksheet
[COLOR=darkblue]For[/COLOR] [COLOR=darkblue]Each[/COLOR] ws [COLOR=darkblue]In[/COLOR] ThisWorkbook.Worksheets
ws.Tab.ColorIndex = 6 [COLOR=green]'yellow[/COLOR]
[COLOR=darkblue]Next[/COLOR] ws
[COLOR=darkblue]End[/COLOR] [COLOR=darkblue]Sub[/COLOR]