You already have the code for the CommandButtons. Did you create the code for that ?

If so, the code goes in the same location.

Advise if you did not write the code for the CommandButtons.