calling module function from macro

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

Guest

How do you call a function from a module (class module - module shown in the
database module list) using the runcode command in a macro.
 
I don't believe you can call functions that are in class modules from
macros. I believe the functions need to be in regular modules.
 
when you say regular module - what does that mean? do you mean behind a form
for example?
 
No. The code associated with a form is actually a class module as well.

I mean what you get when you click on New on the Modules tab, or Insert |
Module from the menu bar.
 
Back
Top