ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   scope of private function called from UserForm fails (https://www.excelbanter.com/excel-programming/418734-scope-private-function-called-userform-fails.html)

oscar.c.marin

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

Thanks in advance.

JMB

scope of private function called from UserForm fails
 
Private functions can only be called from code located in the same module.
Remove the private keyword.


"oscar.c.marin" wrote:

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

Thanks in advance.



All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com