【发布时间】:2013-02-20 10:26:05
【问题描述】:
我被这个问题困扰了好几天
我必须阅读 lotus notes 中的特定邮箱并将所有内容放入 Excel 电子表格
但到目前为止,我只能阅读默认收件箱,无法切换到其他邮箱。我真的是 VBA 新手,谁能帮我解决这个问题
这是我正在使用的代码
Set NSession = CreateObject("Notes.NotesSession")
'get the name of the mailfile of the current user
DbLocation = NSession.GETENVIRONMENTSTRING("mail/mailbox", True)
'Get the notesdatabase for the mail.
Set NMailDb = NSession.GETDATABASE("mailboxer", DbLocation)
MsgBox (DbLocation)
我得到一个空的消息框弹出
【问题讨论】:
标签: vba lotus-notes