Sub Procedures
A Sub procedure is a block of code that is executed in response to an event. By breaking the code in a module into Sub procedures, it becomes much easier to find or modify the code in your application. Syntax: [Private|Public][Static]Sub procedurename (arguments) statements End Sub Each time when procedure is called, the statements between Sub and End Sub are executed. Sub procedures can be placed in …