Add a checkbox instead of a button and test its value for True/False
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"arciduca79 " wrote in message
...
Hello all,
I would like to add a button in a spreadsheet and have it do an
operation when cliked and undo the same operation when clicked again.
how do I do this?
Could someone help me write the code?
Thanks
---
Message posted from http://www.ExcelForum.com/