Examples: Close method (NotesUIDocument - LotusScript®)
This button script closes the current document.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.Close(True)
End Sub