Simple button to laucnh a Macro

Ragnar78

Board Regular
Joined
Feb 10, 2004
Messages
210
Hy,

I want to launch a procedure i create in macro...
I dont really know how to let the button call the VBA code...

Can anyone help me?

And if anyone has any idea concerning the Class Not Registered problem, please tell me about it...

Thx again...
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi Ragnar78,

If your code is in Module1, then Double Click the Button and type in [Module1].Procedure (where procedure is the name of the subroutine.

Regards,

Bill
 
Upvote 0
****, why didn i thought of that...
I thought i had to apply events to it :confused:

**** i need a brainfix....

Thx a lot...and sorry for this stupid topic
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

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