Run existing macro (in module1) from new button (on a worksheet)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I've added a button onto one of the sheets I'm using and want it to point
towards a macro which currently sits in module1. I tried simply copy-pasting
it into the button click sub but it screws up. The macro is very long and I
have no idea how it works but just simply need to make the sheet more user
friendly for anybody who might use the sheet. Therefore, buttons.
 
I mean I've added a command button into one of the worksheets, not the button
 
Got it!

Place this on the on click event:

Call yourmacronamegoeshere

Regards,

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.
 
Worked a charm, cheers.

Michael said:
Got it!

Place this on the on click event:

Call yourmacronamegoeshere

Regards,

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top