Hi
habs versucht, aber wenn ich auf den Button klicke dann kommt eine Fehlermeldung.
Hab im Forum etwas gespickt, komme aber nicht hin....
Object variable not set
Sub Click(Source As Button)
Dim s As New NotesSession, ws As New NotesUIWorkspace
Dim thisdb As NotesDatabase, thisdoc As NotesDocument
Dim maildb As New NotesDatabase("", "")
Dim mailprof As NotesDocument ' Mail Preferences profile
Dim userdir As String, sigpath As String, sigpicpath As String
Dim userinfo List As String
Dim sigstream As NotesStream, sigcode As String
Dim pathchoice As Variant
Dim aqflg As Integer, quotetxt As String, quotestr As String
Dim retflg As Long
Dim dbNAB As NotesDatabase
Dim nnUserName As NotesName
Dim viewPeople As NotesView
Dim docPerson As NotesDocument Set thisdb = s.CurrentDatabase
Call maildb.OpenMail
If maildb.IsOpen = False Then Error 1000, "Unable to find mail database - aborting..."
Set thisdoc = ws.CurrentDocument.Document
Set viewPeople = dbNAB.GetView("($VIMPeople)")
Set nnUserName = New NotesName(s.UserName)
Set docPerson= viewPeople.GetDocumentByKey (nnUserName, True)
NOch einen Tip bitte