How do you create a command buttom in a cell that when press will acivate a mcaro that related to the the VBA sub CommandButton() ? I saw one in a spreadsheet but do not know how the buttons is created.
Thanks
oht
How do you create a command buttom in a cell that when press will acivate a mcaro that related to the the VBA sub CommandButton() ? I saw one in a spreadsheet but do not know how the buttons is created.
Thanks
oht
- Right click on any toolbar.
- Goto Customize
- Click on the Commands tab
- Under Categories, select Forms
- Under Commands, click and drag the button icon to any spot on your toolbar(s).
- Click Close
- Click on the newly added button icon.
- Click and drag the size of your new button onto the spreadsheet.
- After that you should be able to choose which macro to execute whenever you press that button.
I hope this helps!
starryknight64
It sure worked. Saving me pulling all my hair off. Thank you very much.
Regards
oht
Not a problem! After all, we don't want bald excel users!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks