Thank u rob for sharing this nice code. Is there away not to minimize the form that has the button for this code? I be happy if u show me how not to minimize the form iteself.Thanks