G Guest Mar 7, 2006 #1 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.
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.
D Douglas J. Steele Mar 7, 2006 #2 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.
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.
G Guest Mar 7, 2006 #3 when you say regular module - what does that mean? do you mean behind a form for example?
D Douglas J. Steele Mar 8, 2006 #4 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.
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.