scope of private function called from UserForm fails

  • Thread starter Thread starter oscar.c.marin
  • Start date Start date
O

oscar.c.marin

I get a "function does not exist" or similar when function defined in Module1
is called from UserForm.

Thanks in advance.
 
Private functions can only be called from code located in the same module.
Remove the private keyword.
 

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