need help again.....
Why is this code going straight to the On error statment?
I'm 100% positive that G as "Yes" I is "" and E4 as "Yes". It must be something that i'm just not seing??
Why is this code going straight to the On error statment?
HTML:
If cell.Value Like "?*@?*.?*" And _
LCase(Cells(cell.row, "G").Value) = "Yes" And Cells(cell.row, "I").Value = "" Then
If Cells(4, "E").Value = "Yes" Then Set OutMail = OutApp.createItemFromtemplate(Cells(5, "C").Value) Else Set OutMail = OutApp.CreateItem(0)
On Error Resume Next