Jon

The logic example I presented could be wrapped up into a UDF. You would pass it the SearchData, NewData, and (with the Select/Case mod) Method arguments.

You'd prepare the directory ahead of time, placing or extracting flies to "WorkFolder", and then after modification, "workfolder" would be renamed using something like a sequence ID. You could also perpare the folder and pass the folder name to the UDF, but - for me - using a temporary WorkFolder name allows the process to be interrupted and recovered more easily.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D