Collabora Office 24.04 Help
νλ‘μμ λ λΈλ‘μ λλ λλ€.
End, End Enum, End Function, End If, End Property, End Select, End Sub, End With
End λ¬Έμ λ€μκ³Ό κ°μ΄ μ¬μ©ν©λλ€.
End: νμ μ¬νμ΄ μλμ§λ§ νλ‘μμ λ΄μ μμμ μμΉμ μ λ ₯νμ¬ νλ‘κ·Έλ¨ μ€νμ λλΌ μ μμ΅λλ€.
End Enum: Ends an Enum VBA statement
End Function: Function λ¬Έμ λλ λλ€.
End If: If...Then...Else λΈλ‘μ λμ νμν©λλ€.
End Property: Marks the end of a Property statement.
End Select: Select Case λΈλ‘μ λμ νμν©λλ€.
End Sub: Sub λ¬Έμ λλ λλ€.
End With: Ends a With statement
Sub ExampleRandomSelect
Dim iVar As Integer
iVar = Int((15 * Rnd) -2)
Select Case iVar
Case 1 To 5
Print "Number from 1 to 5"
Case 6, 7, 8
Print "Number from 6 to 8"
Case Is > 8 And iVar < 11
Print "Greater than 8"
Case Else
Print "Outside range 1 to 10"
End Select
End Sub