dglienna's way is probally easier than doing it code way but i assumed u wanted code that's why its on the classic vb forum