Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I need to schedule a macro for 13/05/2018 at 20:00
In this workbook, I have to write something like this:
But:
1) how can I add the date?
2) could the date format be a problem?
Of course, the workbook has to remain open.
Thank's in advance.
I need to schedule a macro for 13/05/2018 at 20:00
In this workbook, I have to write something like this:
Code:
Private Sub program()
Application.OnTime TimeValue("20:00"), "xxxxxx"
End Sub
But:
1) how can I add the date?
2) could the date format be a problem?
Of course, the workbook has to remain open.
Thank's in advance.