A user-defined sub that LotusScript® executes when the module containing the Terminate sub is unloaded.
Sub Terminate
[ statements ]
End Sub
Include in the Terminate sub any statements that you want executed when LotusScript unloads the containing module.
The Terminate sub is always Private.
The Terminate sub cannot take any arguments.