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

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies