Is it possible to call a function from one Module to another?
I have the following code:
Sub MAIN()
Call IDLE
End Sub
MAINis located inModule1IDLEis located inModule2and defined as:Sub IDLE()
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.