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
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies