That worked like a charm!
Thanks a lot for your help, much appreciated.
I am pasting the code here just in case anyone else needs it.
Apologies for the "On Error Resume Next", but I am getting an absurd error with special accentuated characters like á, é, í, ó ú. I don't know how to fix it...