Home

VBA command button Problem

%3CLINGO-SUB%20id%3D%22lingo-sub-363072%22%20slang%3D%22en-US%22%3EVBA%20command%20button%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363072%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20new%20to%20this%2C%20so%20forgive%20me%20if%20I'm%20do%20this%20wrong!%20I'm%20having%20some%20problems%20making%20a%20%3CSPAN%3Ebutton%3C%2FSPAN%3E%20for%20what%20I%20want%20to%20use%20it%20for.%20I%20want%20to%20use%20a%20button%20that%20slides%20from%20right%20to%20left%20and%20back%20again%20depending%20on%20what%20I%20want%20to%20do.%20On%20the%20left%20side%20of%20the%20button%20I%20want%20Sales%20and%20on%20the%20Right%20side%20of%20the%20button%20I%20want%20Purchase%2C%20kind%20of%20like%20a%20YouTube%20Video%20I%20watched%20but%20that%20video%20was%20for%20an%20earlier%20version%20of%20Excel%20and%20I'm%20running%20Excel%202016.%20So%20when%20I%20write%20the%20commands%20down%20(VBA%20command)%20from%20the%20earlier%20version%20it%20doesn't%20work%2C%20and%20when%20I%20try%20to%20record%20my%20moves%20I'm%20doing%20something%20wrong%20there%20also.%20Any%20help%20on%20this%3F%20Thank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-363671%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20VBA%20command%20button%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363671%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-363410%22%20slang%3D%22en-US%22%3ERE%3A%20VBA%20command%20button%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-363410%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20moved%20your%20question%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FExcel%2Fbd-p%2FExcelGeneral%22%20target%3D%22_self%22%3EExcel%20community%3C%2FA%3E%20for%20better%20visibility.%3C%2FP%3E%3C%2FLINGO-BODY%3E
kondos3
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

2 Replies
Highlighted

I've moved your question to the Excel community for better visibility.

Thank you

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies