Your comments

Wow that's a cool stuff! and I didn't know this until now but I see it is almost same as how I thought

thanks it helps a lot

Thanks I used For Each tool it works well.