Call button_click from module

  • Thread starter Thread starter Lars Brownies
  • Start date Start date
L

Lars Brownies

Hi,

From a function in a module I'm calling the following function:
Call forms.MyForm.MyButton_click
but I keep getting error 2465 (Error defined by application or object).

Any ideas?

Lars
 
On Sat, 21 Mar 2009 07:46:08 +0100, "Lars Brownies"

Make sure that procedure is Public, rather than the default Private.

-Tom.
Microsoft Access MVP
 
Thanks!

Tom van Stiphout said:
On Sat, 21 Mar 2009 07:46:08 +0100, "Lars Brownies"

Make sure that procedure is Public, rather than the default Private.

-Tom.
Microsoft Access MVP
 

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