Sub Initialize Dim ws As New NotesUIWorkspace Dim uiview As NotesUIView Set uiview = ws.CurrentView Call uiview.Print(1, , , , , , True, , ) End Sub