Code Modules

 

 


Private vs. Public

 


Example

The program below contains one form module and one code module.

Clicking the form's Print button calls the code module's programmer-defined Public Sub procedure ModulePrint, which displays text.