I have a big problem with creating a macro in Excel so I will be very greateful if anyone can help me.
I want to create macro that will have three buttons.
Starting values of all cells are 0. Each time I press button 1, value of the cells in column C will increment by 1 and write into next row. In the same time value of column D will copy to next row. When I press button 2 same thing will happen only with column D, and column C will copy to next row.

For example:
C1=0, D1=0 -> press button 1 -> C1=1, D1=0 -> press button 1 -> C2=2, D2=0 -> press button 2 -> C3=2, D3=1 -> press button 1 -> C4=3, D4=1,
and so on and on each time I press any of these two buttons

Third button will do the step back and undo any change made by pressing button 1 or button 2.