RE: Displaying a Msgbox 1 hour after the workbook opens
This code is in the Workbook Open() event:
This works great but displays the MsgBox as soon as soon the workbook is opened. How do I get the MsgBox to appear 1 hour(or, to extend this to a more elaborate solution, any later time specified by an input variable) after the workbook is opened.
Thanks for anyone's help on this.
cr
This code is in the Workbook Open() event:
Code:
Private Sub Workbook_Open()
If Day(Now) = 10 Then
MsgBox "Good morning"
else
End if
This works great but displays the MsgBox as soon as soon the workbook is opened. How do I get the MsgBox to appear 1 hour(or, to extend this to a more elaborate solution, any later time specified by an input variable) after the workbook is opened.
Thanks for anyone's help on this.
cr
Last edited by a moderator: