How do you make a clickable button without creating a form?

stubarny

New Member
Joined
Apr 7, 2011
Messages
41
Hello everyone,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Please could you tell me how to create a clickable button without creating a form?
<o:p> </o:p>
Clicking the button should invoke a macro and also change the appearance of the button so that it appears to have been physically pressed.
<o:p> </o:p>
Many thanks for your help.
<o:p> </o:p>
Stu
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Where are we putting the button, on a worksheet?
 
Upvote 0
I guess that you mean on the worksheet as GTO said. To explain in detail, we would need to know your Excel version.

You can add one by a Form Control button or an ActiveX command button. In Excel 2010, add the Developer tab to the ribbon by right clicking the ribbon and selecting it. Click the down arrow on the Insert button on that tab and pick one of the two controls. The form control will prompt for a macro to assign to it when you create it. The doubleclick the ActiveX control to add the name of the macro to run in the Sub or add code.
 
Upvote 0
Right-click where all your toolbars are at the top of the screen. Click "Control Toolbox". A new toolbar will appear.

Click the button icon. It will allow you to draw a clickable button on your worksheet.

You can view the code by clicking another button on that same new toolbar. Hover over all the buttons to see what they're for.
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,242
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top