Nov 22, 2002 #2 Dazz22 Programmer May 3, 2002 13 GB Hi. Modules can't be called. A module is a container which can hold Subs, Function, Properties etc. The module can be a standard or a class. Here is a quick example of calling subs in a module Add a standard module to your project and add this code ***************************************** Option Explicit Public Sub One() MsgBox "In Sub One" End Sub Public Sub Two() MsgBox "In Sub Two" End Sub Public Sub Three() MsgBox "In Sub Three" End Sub ******************************* Then add the following code to the form_load event of the form: ******************************** Private Sub Form_Load() 'These lines call the subs individually. 'Step through the code to see how Call One Call Two Call Three End Sub ******************************** Also might be worth searching MSDN for a more detailed explanation Hope it helps To get what you want, you have to go through the crap, but to get through the crap you have to know what you want... Upvote 0 Downvote
Hi. Modules can't be called. A module is a container which can hold Subs, Function, Properties etc. The module can be a standard or a class. Here is a quick example of calling subs in a module Add a standard module to your project and add this code ***************************************** Option Explicit Public Sub One() MsgBox "In Sub One" End Sub Public Sub Two() MsgBox "In Sub Two" End Sub Public Sub Three() MsgBox "In Sub Three" End Sub ******************************* Then add the following code to the form_load event of the form: ******************************** Private Sub Form_Load() 'These lines call the subs individually. 'Step through the code to see how Call One Call Two Call Three End Sub ******************************** Also might be worth searching MSDN for a more detailed explanation Hope it helps To get what you want, you have to go through the crap, but to get through the crap you have to know what you want...