Thanks for your help. I will try this today.
In reply to Re^2: Creating a loop for all items in a document by kanyaya in thread Creating a loop for all items in a document by kanyaya