I found this code but i want when i click ok then other message will show i have data in rowA1,A2then A3 please tell me how to do this
Public RunWhen As Double
Public Const cRunIntervalSeconds = 10 ' <------- This number represents 10 seconds. Change to 600 for 10 minutes
Public Const cRunWhat = "Timer" ' the name of the procedure to run
Sub StartTimer()
RunWhen = Now + TimeSerial(0, 0, cRunIntervalSeconds)
Application.OnTime EarliestTime:=RunWhen, Procedure:=cRunWhat, _
Schedule:=True
End Sub
Sub Timer()
MsgBox [A1], , "Time is up" ' Change 10 seconds to whatever you want that matches the time set in line 2
StartTimer ' Reschedules/Resets the procedure to run again and again
End Sub