V vinians Member Licensed User Longtime User Oct 5, 2012 #1 Guys I'm trying to find where is the documentation about "For Each" loop but I haven't found. Where is it ? Would be good if we had a documentation in chm format because it's easer to found what we want.
Guys I'm trying to find where is the documentation about "For Each" loop but I haven't found. Where is it ? Would be good if we had a documentation in chm format because it's easer to found what we want.
NJDude Expert Licensed User Longtime User Oct 5, 2012 #2 Maybe this sample can help: Code: Dim Days() As String Days = Array As String("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday") For Each I As String In Days Msgbox("Day " & I, "") Next The above code will show the days of the week one by one. Read a little bit more HERE Last edited: Oct 5, 2012 Upvote 0
Maybe this sample can help: Code: Dim Days() As String Days = Array As String("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday") For Each I As String In Days Msgbox("Day " & I, "") Next The above code will show the days of the week one by one. Read a little bit more HERE
V vinians Member Licensed User Longtime User Oct 5, 2012 #3 This is what I needed help! Thank you! Upvote 0
S salmander Active Member Licensed User Longtime User Feb 1, 2013 #4 Is this not right? Code: ContactList.FindByName("Yasmin", False) For Each contact1 As Contact In ContactList Log(contact1) Next Upvote 0
Is this not right? Code: ContactList.FindByName("Yasmin", False) For Each contact1 As Contact In ContactList Log(contact1) Next