Sub Statement
์๋ธ๋ฃจํด์ ์ง์ ํฉ๋๋ค.
๊ตฌ๋ฌธ
Sub Name[(VarName1 [As Type][, VarName2 [As Type][,...]])]
๋ฌธ ๋ธ๋ก
End Sub
๋งค๊ฐ ๋ณ์:
Name: Name of the subroutine.
VarName: Parameter that you want to pass to the subroutine.
Type: ์ ํ ์ ์ธ ํค์๋์ ๋๋ค.
์:
Sub Example
REM some statements
End Sub