call VBA function from macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to call Myfunction in form_main from my macro1

I use macro edit to put

RunCode

call from_main!Myfunction()

but I got

" MS access can not find call expression...."

Are there any way to call myfunction in VBA code from macro?

Any information is great appreciated,
 
Souris,

Just put...
MyFunction()

It will have to be a public function.
 

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