guten morgen liebe gemeinde,
beim ausführen des scriptes kriege ich jedesmal die o.g. meldung und nun bin ich am verzweifeln.
Sub Click(Source As Button)
Dim ntNotes As NotesDocument
Dim path As Variant
path="c:tempwordexp.doc"
Dim dbNotes As NotesDatabase
Dim ssNotes As New NotesSession
Set dbNotes = ssNotes.CurrentDatabase
Set wvNotes = dbNotes.Getview ("Server")
Set ntNotes = vwNotes.GetFirstDocument
Do While Not (ntNotes Is Nothing)
Set wordObj = GetObject(path)
tempfield=ntNotes.fldCaratulaContents
Call WordObj.ActiveWindow.Selection.TypeText(tempfield+Chr$(13))
wordObj.Save
wordObj.Application.Quit
Set wordObj = Nothing
Set ntNotes = vwNotes.GetNextDocument(ntNotes)
Loop
Set wordObj = Nothing
Msgbox "File has been exported to -->: " + path
End Sub
wenn einer der LS-EXPERTEN eine idee hat, bitte ich doch mir dieses mitzuteilen!
mfg