wrote :: 2005.12.19
Sub Sample09()
Worksheets("Sheet1").Tab.ColorIndex = 3
End Sub
Sub Sample09_2()
With ActiveSheet
If .Index = 1 Then Exit Sub
.Tab.ColorIndex = Sheets(.Index - 1).Tab.ColorIndex
End With
End Sub
Sub Sample09_3()
Dim ws As Worksheet
For Each ws In Worksheets
ws.Tab.ColorIndex = xlNone
Next ws
End Sub