Our Newsletter


Subscribe to our Newsletter and we'll keep you notified of new products, giveaways and discounts.

We respect your email privacy and will never sell or share your details with anyone.


Knowledgebase Home | Glossary | Favorites | Contact | Login Knowledgebase Home | Glossary | Favorites | Contact | Login
Search the Knowledgebase Browse by Category
VBScript For Each Next Loop
Article Details

Last Updated
23rd of February, 2009

User Opinions (0 votes)
No users have voted.

How would you rate this answer?
Helpful
Not helpful
A For each loop lets you perform an action on an object, then perform the same action on a different object, and keep doing this, until there are no more objects.

Dim arrShopping
Dim str

arrShopping = Array("Bread","Milk","Apples","Carrots","Cereal")

For Each str In arrShopping
MsgBox str
Next





     
For more information about VBScript, check out our VBScript Training Videos
VBScript Training Videos
     



Visitor Comments
No visitor comments posted. Post a comment
Post Comment for "VBScript For Each Next Loop"
To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Your Name:
   Email Address:
* Your Comment:
* Enter the code below:
 
Related Articles
No related articles were found.
Attachments
No attachments were found.