Thank you Westlyn, myself I did some VBA coding as a hobby in the past but it didn't pass my mind to try it for this task. Your macro is quite nicely and clearly written as I see it.
For the moment I solved the problem with a batch file kindly suggested by a poster on a different thread, using FINDSTR, but if I need more I'll try your macro.
Regards,
rebl
|