我坚持这个问题好几天Lotus Notes中VBA
我要读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)
我得到一个空的msgbox坡平了