Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant) Dim doc As NotesDocument Dim docList As String For j = 1 To Source.Documents.Count Set doc = Source.Documents.GetNthDocument(j) docList = docList & Chr(10) & doc.Subject(0) Call doc.FieldSetText( "Ordner", Cstr( Target) ) Next End Sub