The Open Source Swiss Army Knife

/code/vbscript/
/code/vbscript/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /code   /vbscript 
Permalink: foreach.txt
Title: array walking with foreach
article options : please login   |  raw source view  

'Add contacts to variable for BCC field

For Each varItem In lst.ItemsSelected

      'Check for email address
      strEMailRecipient = Nz(lst.Column(1, varItem))
      Debug.Print "EMail address: " & strEMailRecipient
      If strEMailRecipient <> "" Then
         strBCC = strBCC & strEMailRecipient & ";"
      End If

Next varItem


Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top