Thank you very much, a great code. I have just study about VBA and hope to receive more help from you