Versuchs mal so :
Dim col As notesdocumentcollection
Dim doc As notesdocument
Dim ws As New notesuiworkspace
Dim wert As Variant
Set sess = New notessession
Set cdb = sess.currentdatabase
Set col = cdb.unprocesseddocuments
Set doc = col.getfirstdocument
Call ws.DialogBox("form_db_lps_select", True, True, False, False, False, False, "Auswahl", doc)
wert = doc.Untitled
Call col.StampAll("sfd_pri_select_contact", wert(0))