Hi
what error did you get or does nothing happen?.
Check if you have places Tom's code into the workbook module (and not
into a standard module)
--
Regards
Frank Kabel
Frankfurt, Germany
i'm sorry, but your sample doesnt work
---
Message posted from http://www.ExcelForum.com/