I was wondering if there is a way to flash a message in a cell when worksheet is opened. I entered the following into the sheet code and it works if I manually activate it, but I would like it to run every time the sheet is accessed.
Option Explicit
Private Sub Flash()
Dim Flash As Integer
For Flash = 1 To 5
Range("A5").Font.ColorIndex = 2
Application.Wait Now + TimeSerial(0, 0, 1)
Range("A5").Font.ColorIndex = 5
Application.Wait Now + TimeSerial(0, 0, 1)
Next
End Sub
The idea is to draw attention to the cells contents before any data is entered or changed on the sheet.
Thanks in advance for any help
Roy
Option Explicit
Private Sub Flash()
Dim Flash As Integer
For Flash = 1 To 5
Range("A5").Font.ColorIndex = 2
Application.Wait Now + TimeSerial(0, 0, 1)
Range("A5").Font.ColorIndex = 5
Application.Wait Now + TimeSerial(0, 0, 1)
Next
End Sub
The idea is to draw attention to the cells contents before any data is entered or changed on the sheet.
Thanks in advance for any help
Roy