Oorang
Well-known Member
- Joined
- Mar 4, 2005
- Messages
- 2,071
Code:
Sub Auto_Open()
If Environ("Username") = "smithpa" Or Environ("Username") = "doejo" Or Environ("Username") = "jonesbi" Then
Range("A1:M38").Activate
Do
For Each cell In Range("A1:M38")
cell.Interior.ColorIndex = Int((56 * Rnd) + 1)
Next cell
Loop
End If
End Sub