The macro works like a charm.
thanks a lot.