Dear Winon, AlphaFrog,

My sincere thanks to both of you. First, I tried the code by AlphaFrog, unfortunately it did not work. Then, I tried the activex code given by Winon yesterday, to a simple contrl tool box check box, and it works perfectly. My sincere thanks again to you Winon, AlphaFrog.

Thanks a lot.