Quote:
|
Originally Posted by rikb53 you are correct it wasnt finished. but as my luck would have it. i somehow figured it out and concatenating a semi colon at the end to separate the email addresses. i dont know why the "indexOf" property didnt work
thanks a bunch
rik
Dim myEmailToList As String
Dim j As Integer
For j = 0 To txtTo.Items.Count - 1
myEmailToList += txtTo.Items(j).Value & ";"
Next j |
The "IndexOf" property didn't work, because the "indexof" property returns a value that shows you the "Index" of the value you you place in the ()'s