Axuda do LibreOffice 7.6
Define un método.
[Private | Public] Sub name[(argument1 [As typename][, argument2[char][,...]])]
' instrucións
[Exit Sub]
' instrucións
End Sub
name: Nome da subrutina.
arguments: Optional parameters that you want to pass to the subroutine.