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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.