Reputation: 145
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
Reputation: 96791
Place your code in a standard module and then right-click the button and assign the code to it
.
Upvotes: 1