redd
redd

Reputation: 145

Code to run module from a command button

I am having trouble running my mammoth code through a command button, so it got me thinking is there a way to call out a module and run it through a command button, rather than have the actual code embedded into it?

Upvotes: 0

Views: 4837

Answers (1)

Gary's Student
Gary's Student

Reputation: 96791

Place your code in a standard module and then right-click the button and assign the code to it

enter image description here.

Upvotes: 1

Related Questions