Good evening dave_gb
The undo button doesn't work to undo a macro - you have to code your
own routine, but you can link it into the undo button, so a user
wouldn't normally notice the difference. This is what the OP was
after.
Bruise
John Walkenbach discusses this with a simple example he
http://www.j-walk.com/ss/excel/tips/tip23.htm
HTH
DominicB
--
dominicb
------------------------------------------------------------------------
dominicb's Profile:
http://www.excelforum.com/member.php...o&userid=18932
View this thread:
http://www.excelforum.com/showthread...hreadid=502683