LibreOffice 24.8 Help
āĻāĻāĻāĻŋ āĻĒā§āĻ°āĻ¸āĻŋāĻāĻžāĻ° āĻ āĻĨāĻŦāĻž āĻŦā§āĻ˛āĻ āĻ¸āĻŽāĻžāĻĒā§āĻ¤ āĻāĻ°ā§āĨ¤
End, End Enum, End Function, End If, End Property, End Select, End Sub, End With
End statement āĻāĻŋ āĻ¨āĻŋāĻŽā§āĻ¨āĻ°ā§āĻĒā§ āĻŦā§āĻ¯āĻŦāĻšāĻžāĻ° āĻāĻ°ā§āĻ¨:
End: āĻĒā§āĻ°āĻ¯āĻŧā§āĻāĻ¨ā§āĻ¯āĻŧ āĻ¨āĻ¯āĻŧ, āĻāĻŋāĻ¨ā§āĻ¤ā§ āĻāĻā§āĻ¨ā§āĻ āĻ¸āĻŽā§āĻĒāĻžāĻĻāĻ¨āĻž āĻļā§āĻˇ āĻšāĻ¤ā§ āĻāĻāĻāĻŋ āĻĒāĻĻā§āĻ§āĻ¤āĻŋāĻ° āĻŽāĻ§ā§āĻ¯ā§ āĻ¯ā§āĻāĻžāĻ¨ā§ āĻāĻā§āĻāĻž āĻ¸āĻ¨ā§āĻ¨āĻŋāĻŦā§āĻļ āĻāĻ°āĻž āĻ¯āĻžāĻŦā§āĨ¤
End Enum: Ends an Enum VBA statement
End Function: āĻāĻāĻāĻŋ āĻĢāĻžāĻāĻļāĻ¨ āĻ¸ā§āĻā§āĻāĻŽā§āĻ¨ā§āĻ āĻ¸āĻŽāĻžāĻĒā§āĻ¤ āĻāĻ°ā§āĨ¤
End If: āĻāĻāĻāĻŋ If...Then...Else āĻŦā§āĻ˛āĻā§āĻ° āĻļā§āĻˇāĻžāĻāĻļ āĻāĻŋāĻšā§āĻ¨āĻŋāĻ¤ āĻāĻ°ā§āĨ¤
End Property: Marks the end of a Property statement.
End Select: āĻāĻāĻāĻŋ āĻā§āĻ¸ āĻ¨āĻŋāĻ°ā§āĻŦāĻžāĻāĻ¨ āĻŦā§āĻ˛āĻā§āĻ° āĻļā§āĻˇāĻžāĻāĻļ āĻāĻŋāĻšā§āĻ¨āĻŋāĻ¤ āĻāĻ°ā§āĨ¤
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