Hey VBForums.

I have a few buttons that connect to text boxes. When these buttons are pressed the number in the text boxes increase.

What code would I type in a separate Buttons sub to make it Undo the last button pressed?

*Presses the +1 button for TextBox1*
Amount on TextBox1 increases.
*Presses Undo button*
Last amount entered on TextBox1 is undone. -1
*Presses the +3 button for TextBox1*
Amount on TextBox1 increses.
Last amount entered on TextBox1 is undone. -3

How do I make this happen? What's the magic code

Thanks.