Can I call a function from one Module to another?
I wrote the following:
Sub MAIN()
Call IDLE
End Sub
"Main" is located in "Module1". "IDLE" is located in "Module2". (defined as: "Sub IDLE()")
Thanks.
can this be done?
Can I call a function from one Module to another?
I wrote the following:
Sub MAIN()
Call IDLE
End Sub
"Main" is located in "Module1". "IDLE" is located in "Module2". (defined as: "Sub IDLE()")
Thanks.
can this be done?
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.