I have a code that is currently running every 15 minutes on a continuous basis. It's working fine but I'd like to have the option of running it more or less frequently. Is this possible?
Ahh... Got it. You have to format the input.
X_Minutes = "" & "00:" & X_Minutes & ":00" & ""
Ahh... Got it. You have to format the input.
X_Minutes = "" & "00:" & X_Minutes & ":00" & ""
VBA Code:
Sub Run_Rabbit_Run()
Dim X_Minutes As String
Call EAT_ME
X_Minutes = Sheets("Index").Range("B4")
Application.OnTime Now + TimeValue(X_Minutes), "Run_Rabbit_Run"
End Sub