in reply to Index in For loop
There are lots of other ways to accomplish this, as I'm sure followup posters will demonstrate...