View Single Post
 
Old 09-22-2015, 10:49 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,105
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

It will ignore unread messages if you include a check for it e.g.

Code:
Private Sub Newsletters_ItemAdd(ByVal item As Object)
    If Not item.UnRead Then
        On Error GoTo err_Handler
        Set olItem = item.Forward
        olItem.BCC = "Newsletters"
        olItem.sEnd
    End If
lbl_Exit:
    Exit Sub
err_Handler:
    MsgBox Err.Number & " - " & Err.Description
    GoTo lbl_Exit
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote