ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macros to Button (https://www.excelbanter.com/excel-discussion-misc-queries/261558-macros-button.html)

Premal

Macros to Button
 
Can someone please tell me how to assign Macros to a Button?

ozgrid.com

Macros to Button
 
http://www.ozgrid.com/Excel/assign-macros.htm



--
Regards
Dave Hawley
www.ozgrid.com
"Premal" wrote in message
...
Can someone please tell me how to assign Macros to a Button?



Dave Peterson

Macros to Button
 
Use buttons from the Forms toolbar (View|Toolbars in xl2003 menus) to see that
toolbar.

Then click on the button and plop it on a sheet somewhere. You'll be prompted
to assign the macro right there. If you don't want to assign the macro then,
you can rightclick on the button and choose assign macro any time you want.

Remember, you'll want to put your macro into a General module -- not behind a
worksheet and not behind ThisWorkbook.

Premal wrote:

Can someone please tell me how to assign Macros to a Button?


--

Dave Peterson


All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com