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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
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.
 

ADAMC

Well-known Member
Joined
Mar 20, 2007
Messages
1,169
Office Version
  1. 2013
Platform
  1. Windows
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,
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
54,312
Office Version
  1. 365
Platform
  1. Windows
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,983
Messages
5,834,709
Members
430,311
Latest member
JAC0617

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
Top