Collabora Office 23.05 Hjälp
Definierar en subrutin.
[Private | Public] Sub name[(argument1 [As typename][, argument2[char][,...]])]
' statements
[Exit Sub]
' statements
End Sub
name: Name of the subroutine.
arguments: Optional parameters that you want to pass to the subroutine.