VBA command button problem

New Contributor

I am new to this, so forgive me if I'm do this wrong! I'm having some problems making a button for what I want to use it for. I want to use a button that slides from right to left and back again depending on what I want to do. On the left side of the button I want Sales and on the Right side of the button I want Purchase, kind of like a YouTube Video I watched but that video was for an earlier version of Excel and I'm running Excel 2016. So when I write the commands down (VBA command) from the earlier version it doesn't work, and when I try to record my moves I'm doing something wrong there also. Any help on this? Thank you