ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   assigning macros (https://www.excelbanter.com/excel-discussion-misc-queries/108712-assigning-macros.html)

enyaw

assigning macros
 
I have over 100 command buttons on a worksheet. I also over 100 macros each
one has to be added to a command button. Is there a quicker way than using
"Assign Macro".

Dave Peterson

assigning macros
 
Maybe you could use a macro to assign the macros. But how do you know which
macro is assigned to which button?

And are these commandbuttons from the control toolbox toolbar or buttons from
the Forms toolbar.

If they are commandbuttons from the control toolbox toolbar, then you don't
assign the macro. Those commandbuttons have their own _click events.

enyaw wrote:

I have over 100 command buttons on a worksheet. I also over 100 macros each
one has to be added to a command button. Is there a quicker way than using
"Assign Macro".


--

Dave Peterson


All times are GMT +1. The time now is 05:50 PM.

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