S
Sean
Below is the code (ex Ron de Bruin) I am using to populate the CC
field in my auto e-mail file. The issue I am trying to overcome is
sometimes the field where the CC values are held are empty, other
occasions they have a valid address, how could I tweak below to allow
this?
For Each cell In ThisWorkbook.Sheets("Mail") _
.Columns("AI").Cells.SpecialCells(xlCellTypeConstants)
If cell.Value Like "?*@?*.?*" Then
strcc = strcc & cell.Value & ";"
End If
Next
strcc = Left(strcc, Len(strcc) - 1)
field in my auto e-mail file. The issue I am trying to overcome is
sometimes the field where the CC values are held are empty, other
occasions they have a valid address, how could I tweak below to allow
this?
For Each cell In ThisWorkbook.Sheets("Mail") _
.Columns("AI").Cells.SpecialCells(xlCellTypeConstants)
If cell.Value Like "?*@?*.?*" Then
strcc = strcc & cell.Value & ";"
End If
Next
strcc = Left(strcc, Len(strcc) - 1)