Hi,

I managed to get InStr working - it has to serach for a word in the mail subject.
Now my colleague wants it to serach for 2 words and I cannot find the right syntax

Hope someone can help me out

I need it to look for both arrival confirmation and delivery confirmation, if it is either one of them it has to be changed to Payment reminder - past due invoice

Thanks - have a nice day

If InStr(1, LCase(oReceivedMail.Subject), "arrival confirmation", vbTextCompare) <> 0 Then oNewMail.Subject = "Payment reminder - past due invoice: "