Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Embedded button
I would like to place a control button linked to a macro on a spreadsheet.
When I open the controls tool bar and create the button desired, I can't seem to be able to attach a macro to it. Help says I should be able to right-click and have that option, but it's not there. What am I doing wrong? Thanks, Mnaut |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Embedded button
There are two types of command buttons available in Excel. The
first is on the Forms toolbar, and when you right click it, you will see the 'Assign Macro' option. The second type is on the Controls toolbar, and when you right click it, you will see an option for 'View Code'. If you select this, you will be taken to that button's Click event procedure in the worksheet module. Place your code in that event procedure. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "MNaut" wrote in message ... I would like to place a control button linked to a macro on a spreadsheet. When I open the controls tool bar and create the button desired, I can't seem to be able to attach a macro to it. Help says I should be able to right-click and have that option, but it's not there. What am I doing wrong? Thanks, Mnaut |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I remove a "Print Report" button embedded on spreadsheet? | Excel Discussion (Misc queries) | |||
How do I lock a radio button group if a N/A button is selected | Excel Discussion (Misc queries) | |||
Delete a custom button by holding down the ALT key and dragging the button off the toolbar | Excel Programming | |||
Embedded command button doesn't respond in new window | Excel Programming | |||
Printing a WorkSheet with an embedded command button | Excel Programming |