Syntax 
 | [ | Private | Public | Friend ] _ 
Sub name[([param[, ...]])] 
    statements 
End Sub 
 | 
|---|---|
Description 
 | User defined subroutine. The subroutine defines a set of statements to be executed when it is called. The values of the calling arglist are assigned to the params.  A subroutine does not return a result.  
Sub defaults to Public if Private, Public or Friend are not is specified. 
 | 
See Also 
 | |
Example 
 | 
  |