bebo021999! I have tried with your help but getting "#NAME?" in all cells. I am using Office 2003.