Hello
I'm looking a 30 seconds delay for this macro :
Private Sub Application_MAPILogonComplete()
TestAttachmentRule
End Sub
Thanks
Hello
I'm looking a 30 seconds delay for this macro :
Private Sub Application_MAPILogonComplete()
TestAttachmentRule
End Sub
Thanks
How about this?
[vba]Private Sub Application_MAPILogonComplete()
Dim currenttime As Date
currenttime = Now
Do Until currenttime + TimeValue("00:00:30") <= Now
Loop
Call TestAttachmentRule
End Sub[/vba]
Regards,
JP
Read the FAQ
Getting free help on the web
My website
Please use [vba][/vba] tags when posting code
Thanks, works as wished.
Have a good day