Hi All: I have a workbook with two command buttons. Behind them is some code I wrote. The file became corrupt somehow and I lost the buttons, but the code was still there. I created two new buttons, and copied the code into them. I still get this error:

click to see error

In the VB editor there is a drop down box with 4 buttons listed (2 I deleted, and the 2 new ones). Do I need to delete the old buttons from that list? Or are there instances somewhere that the macro is still trying to run? The only buttons I have now are CommandButton3, and CommandButton4.

Thanks for the help