Sub Statement
Definiál egy szubrutint.
Szintaxis
Sub Name[(VarName1 [As Type][, VarName2 [As Type][,...]])]
utasĂtásblokk
End Sub
Paraméterek:
Name: Name of the subroutine.
VarName: Parameter that you want to pass to the subroutine.
TĂpus: TĂpusdeklaráciĂłs kulcsszĂł.
PĂ©lda:
Sub Example
' utasĂtások
End Sub