RE: Button to call a Macro ?

Dhimit

Board Regular
Joined
Jul 24, 2007
Messages
195
RE: Button to call a Macro ?

Hi,

Is it possible to place a BUTTON on a worksheet to call a Macro as opposed to using a 'shortcut key' ?

Dhimit
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Certainly is!!
Go to View>Toolbars>Forms.
Pick the button from this toolbar and place it on the worksheet, the macro dialog will open automatically from where you can select the macro you want it to run.
 
Upvote 0
Yes....By worksheet button i assume you mean a button from the forms menu:

On the forms menu click button:
Go to the worksheet and place the button where you want it to be placed, Excel by default will ask you if you wish to assign a macro to this button.

If you dont have the forms menu.....

Tools > Customize > Toolbars > pick forms from the list,
 
Upvote 0
Dhimit

There is also a Command Button on the "Control Toolbox" toolbar that can also be used for this pupose - though in a slightly different way. Post back if you need further help.
 
Upvote 0

Forum statistics

Threads
1,214,581
Messages
6,120,372
Members
448,957
Latest member
BatCoder

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