Hi Peter,
Thanks for your help, I tried your suggestions but they didn't work.
I figured out that my macro is working until this line:
Selection.ClearContents
So I think the problem is in there somewhere. The funny thing is that I
wrote the same macro for different cells in different sheets and it
works there....
--
bokodilaszlo
------------------------------------------------------------------------
bokodilaszlo's Profile:
http://www.excelforum.com/member.php...o&userid=32250
View this thread:
http://www.excelforum.com/showthread...hreadid=520012