帮我看个错误!!!
Dim session As New NotesSession
Dim doc As NotesDocument
Dim view As NotesView
Dim coll As Notesviewentrycollection
Dim entry As Notesviewentry
Set db=session.CurrentDatabase
Set view=db.getView("所有文件")
Set coll = view.allEntries
If coll.count=0 Then
Exit Sub
End If
For i=1 To coll.count
Set entry=coll.getNthEntry(i)
Set doc=entry.document
Call coll.PutAllInFolder("e:\\Notesdb")
Next
---------------------------------------------------
以上的代码应该在哪里运行?有错误么?
在线等,谢谢!