View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
q q is offline
external usenet poster
 
Posts: 6
Default Undefined function

This is really strange - I am getting an error when I post saying that the
message cannot be posted because there are too many connections to my
mailserver from me - but it is getting posted anyway! Sorry about that.


"Jim Thomlinson" wrote in
message ...
Try putting it in a standard module, instead of thisworkbook.
--
HTH...

Jim Thomlinson


"q" wrote:

I've place a command button on Sheet1. In the click event I call a user
defined public function which I created in the ThisWorkbook module called
Init. When I click on the command button, I get an error: "Sub or
Function
not defined."

It is a public function and there are no spelling errors. Why am I
getting
the error?

Thanks.