Sub Statement
Defines a subroutine.
Syntax
Sub Name[(VarName1 [As Type][, VarName2 [As Type][,...]])]
statement block
End Sub
پارامېتىر
Name: Name of the subroutine.
VarName: Parameter that you want to pass to the subroutine.
Type: Type-declaration key word.
مىسال:
Sub Example
' some statements
End Sub