I was getting this when I tried to run some code that was working in a Module, from a Button in a Sheet. You need to point the Button-Click macro at the code in the module:-
Code:
Private Sub CommandButton1_Click()
ModuleName.MacroName
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.