I want to print the first page of every new email of a certain kind. I know how to make a rule to make the selection, but I'm completely blank what to put in the VBA script. Any ideas?
I got the selection working, with a rule which runs this script. But the printing part.... dunno....
Sub NewEmail(Item As MailItem)
MsgBox ("New email received: " & Item.Subject) 'just for testing.....
'but now.... print this email on the defaut printer, first page only... how?
End Sub
I got the selection working, with a rule which runs this script. But the printing part.... dunno....
Sub NewEmail(Item As MailItem)
MsgBox ("New email received: " & Item.Subject) 'just for testing.....
'but now.... print this email on the defaut printer, first page only... how?
End Sub