Hi,
I have been trying to use the ontime method in outlook and keep getting error 438, Object does not support this property or method. I coppied the code into excel and it works fine. Does anyone know why it would work in excel but not in Outlook?
Thanks
Code:
'Code placed in UserForm:
Sub TryThis()
Application.OnTime Now + TimeValue("00:00:15"), "SayHello"
End Sub
'Code placed in Module:
Public Sub SayHello()
MsgBox "Hello!"
End Sub