Hello,
In StarOffice Basic (basic used in LibreOffice), you simply note the Sub (actually a procedure or function) you are calling. Once completed, you will be returned to the next instruction.
Case 1
CashReceipts
Case 2
Payroll(parameters)
etc....
For the manual, here is a link to the PDF → StarOffice 7 - Basic Programmer’s Guide
Edit - Simple example based upon your code:
Sub EnterTrans
Dim iTT As Integer: iTT = 3
Select Case iTT
Case 1
CashReceipts
Case 2
Payroll
Case 3
Expenses
Case Else
Nada
End Select
End Sub
Sub CashReceipts
Print "Hello CR"
End Sub
Sub Payroll
Print "Hello PR"
End Sub
Sub Expenses
Print "Hello EXP"
End Sub
Sub NADA
Print "Nothing Selected"
End Sub