Outlook Wait a few seconds then execute
Try:
Sub printradu(Item As Outlook.MailItem)
'Wait 10 seconds then execute the code below:
Application.Wait(Now + TimeValue("0:00:10"))
MessageAndAttachmentProcessor Item, True
End Sub
Or:
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub printradu(Item As Outlook.MailItem)
'Wait 10 seconds then execute the code below:
Sleep(10000)
MessageAndAttachmentProcessor Item, True
End Sub
Or:
Sub printradu(Item As Outlook.MailItem)
'Wait 10 seconds then execute the code below:
Threading.thread.sleep(10000)
MessageAndAttachmentProcessor Item, True
End Sub
This worked for me in Outlook 2013 VBA (for some reason I had to include "outlook." before the "Application.Wait"):
Outlook.Application.Wait (Now + TimeValue("0:00:5"))