Hi,
Thanks a lot problem solved by adding on "error resume next" in the first line of the code

regards