Hi,
This is a stupid question but I cannot find the answer, I want to assign a macro to a button, I have done it in a previous version, in Excel 2000 I cannot see any option to assign the macro. What have I missed. I created the button from the toolbar, I even read the Help
![]() |
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 |
-
Assign a Macro to a Button (Excel 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Assign a Macro to a Button (Excel 2000)
- This topic has 12 replies, 6 voices, and was last updated 22 years, 3 months ago.
AuthorTopicWSmikeyt
AskWoody LoungerFebruary 3, 2003 at 5:05 pm #382769Viewing 2 reply threadsAuthorReplies-
WSshades
AskWoody LoungerFebruary 3, 2003 at 7:10 pm #650096Bring up the “Customize toolbar” (Menu > Tools > Toolbars > Customize). Then you should be able to right-click on the button and at the bottom should be a menu item “Assign macro…” Is it not there?
If it is, then releasing the mouse will bring up the macro listing box. Select the one you want and click okay. The box will disppear. Then close the customize toolbar dialog box.
-
WSJohnBF
AskWoody Lounger -
WSAndrew Cronnolly
AskWoody LoungerFebruary 3, 2003 at 8:11 pm #650117Perhaps you mean a command button from the Control Toolbox, in which case you cannot directly assign a macro. When you add such a button to a worksheet you can right click on it and select View Code. You should then be presented with the following two lines,
Private Sub CommandButton1_Click()
End Sub
between which you can type the name of the macro you wish to invoke, assuming it is a Public Sub.
Or alternatively you can use a button from the Forms toolbar, to which you can directly assign a macro.
Andrew C
Viewing 2 reply threads -

Plus Membership
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.
Get Plus!
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.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Xfinity home internet
by
MrJimPhelps
2 hours, 44 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
4 hours, 44 minutes ago -
Debian 12.11 released
by
Alex5723
13 hours, 10 minutes ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
16 hours, 52 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
3 hours, 14 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
13 hours, 20 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
1 day, 9 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
1 day ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 12 hours ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
1 day, 4 hours ago -
Some advice for managing my wireless internet gateway
by
LHiggins
12 hours, 16 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
5 hours, 7 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day, 21 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day, 18 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
1 day, 8 hours ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 days, 11 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
19 hours, 50 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
8 hours, 29 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
2 days, 14 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
2 days, 14 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
2 days, 3 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 22 hours ago -
0Patch, where to begin
by
cassel23
2 days, 16 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
3 days, 12 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
3 days ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 days, 20 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 days, 11 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
14 hours, 5 minutes ago -
Installer program can’t read my registry
by
Peobody
5 hours, 59 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
3 days, 9 hours ago
Recent blog posts
Key Links
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.