SyntaxFix
Write A Post
Hire A Developer
Questions
Tags
Is it possible to call a function from one Module to another?
Module
I have the following code:
Sub MAIN() Call IDLE End Sub
MAIN
Module1
IDLE
Module2
Sub IDLE()
This question is related to vba module call
vba
module
call
Prefix the call with Module2 (ex. Module2.IDLE). I'm assuming since you asked this that you have IDLE defined multiple times in the project, otherwise this shouldn't be necessary.
Module2.IDLE
Source: Stackoverflow.com