Thanks for the prompt quick reply. It worked for a single datset. Im having two datsets in two different folders. I’m trying to modify your code to do this. Still no luck though. Do you think whether this a good idea to modify your code to do that? Or is there a alternate way?