Thanks Gargoyle for the clarification.
Could you tell me the reason for the For each and then For To ?