Hi,
I need a mesage box to appear once cell A1 is over the value 50,000. I need the sheet to be in the background so I want the macro to be either contantly running or updating every few minutes.
I am able to get the popup box to work but not the time function. This is what I have so far.
Sub Macro5second()
If [A1].Value >= 50000 Then MsgBox "Time to trade boss!"
Application.OnTime Now() + TimeValue("00:05:00"), "Macro5second"
End Sub
Thanks
I need a mesage box to appear once cell A1 is over the value 50,000. I need the sheet to be in the background so I want the macro to be either contantly running or updating every few minutes.
I am able to get the popup box to work but not the time function. This is what I have so far.
Sub Macro5second()
If [A1].Value >= 50000 Then MsgBox "Time to trade boss!"
Application.OnTime Now() + TimeValue("00:05:00"), "Macro5second"
End Sub
Thanks