Rick,

I'm glad for, somehow, have contributed to a better solution.

New code copied for future use.

Regards,

M.