I’m trying to assign a macro to a command button on a spreadsheet…however, the “Assign Macro” command does not come up in the short cut menu when I right-click the button…how come?
Thanks,
Christa
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Assigning macros (Excel XP)
Christina:
Make sure the pointer is not inside the control box but touching the edges. On my version of Excel the pointer turns into a black line with double arrows.
When you have the proper pointer right click and you should be able to assign you Macro.
Hint, change Zoom To 200% or even greater so you can better control the pointer.
Tom Duthie
Did you create the button from the Control Toolbox? If so, you don’t get an Assign Macro choice with those controls. If you right click on a control from the Control Toolbox when in design mode, the pop up menu should contain a “View Code” button. If you click on this, you will get a VBE window where you can either put the macro code, or a call to the macro if it is in another module, in the click event routine for the button.
If the control is from the Forms Toolbox, then you must right click in the selection border of the button to get the “Assign Macro” button in the popup menu.
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications