well thanks for you help got it working just fine. Didnt realise at
first that it had to be placed in a module outside of a macro. thanks
again!
--
ceemo
------------------------------------------------------------------------
ceemo's Profile:
http://www.excelforum.com/member.php...o&userid=10650
View this thread:
http://www.excelforum.com/showthread...hreadid=392062