Dim
myWorksheet
As
Worksheet, myRange
As
Range
For
Each
myWorksheet
In
ThisWorkbook.Worksheets
With
myWorksheet
For
Each
myRange
In
.Range(
"A3:A33"
)
If
Weekday(myRange.Value) = 1
Or
Weekday(myRange.Value) = 7
Then
.Range(.Cells(myRange.Row, 1), .Cells(myRange.Row, 8)).Interior.ColorIndex = 22
Else
.Range(.Cells(myRange.Row, 1), .Cells(myRange.Row, 8)).Interior.ColorIndex = xlColorIndexNone
End
If
Next
End
With
Next