Sub Initialize Dim ws As New NotesUIWorkspace Dim uidb As NotesUIDatabase Set uidb = ws.CurrentDatabase Call uidb.Close End Sub