当前位置:网站首页>Calling subroutines from other modules in VBA - call a subroutine from a different module in VBA

Calling subroutines from other modules in VBA - call a subroutine from a different module in VBA

2022-06-10 16:48:00 javail

problem :

Is it possible to call a function from one Module to another? Can I Module Call one function to another Module

I have the following code: I have the following code :

Sub MAIN()    Call IDLEEnd Sub
  • MAIN is located in Module1MAIN be located Module1
  • IDLE is located in Module2 and defined as: Sub IDLE()IDLE be located Module2 , Defined as : Sub IDLE()

Solution :

Reference resources : https://stackoom.com/en/question/BlX5
原网站

版权声明
本文为[javail]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020950187542.html