Dim aCell As Range
Dim eTo As String
If IsEmpty(Range("H4")) Then
Else
ActiveSheet.Range("G3", ActiveSheet.Range("K3").End(xlDown)).Select
ActiveWorkbook.EnvelopeVisible = True
With ActiveSheet.MailEnvelope
For Each aCell In ActiveSheet.Range("B3:B5", "E3:E6")
If aCell <> "" Then
eTo = eTo & aCell & ";"
End If
Next
eTo = Left(eTo, Len(eTo) - 1)
.Item.To = eTo
.Item.Subject = "Allocations - BNP" & Format(Date, " mm/dd/yyyy")
.Item.Send
End With
End If
Please put code in CODE tags. (The Hash # symbol.)
Bookmarks