Hi Patk,
I copied and pasted my original code (the version in my first reply t
you) in to a worksheet module with no problems, however if you copy an
paste the code as seen in your reply to me you will see that the code i
word wrapped so the lines are split!
Try again and let me know.
Regards,
Simo
--
Simon Lloy
-----------------------------------------------------------------------
Simon Lloyd's Profile:
http://www.excelforum.com/member.php...nfo&userid=670
View this thread:
http://www.excelforum.com/showthread.php?threadid=56686