I am trying to change the value of cell B1 to "FALSE
" after 1:00 PM.
This is not working.
Sub MacroTimer()
If Hour(Now) > 13 Then [B1].Value = "FALSE"
' Procedure to run timer sub.
Module1.MacroTest
' Set last refresh time.
[E1].Value = Time
' If cell B1 timer is true, run Macro again.
If [B1].Value = "True" Then
SetNextExecution
Else
Exit Sub
End If