vdphhusdwroh
New Member
- Joined
- Jul 10, 2019
- Messages
- 3
I have a VBA Macro which runs in loop as below, want to specify the start and end time for it to run. Could any of your please help me.
Sub execute()
'' Should run only if current time start time is between 11:00 to 14:00
Do
MsgBox "test", vbInformation
Loop
End Sub
Sub execute()
'' Should run only if current time start time is between 11:00 to 14:00
Do
MsgBox "test", vbInformation
Loop
End Sub