office的帮助里有。如果是office2000,要定制安装,选择vba帮助
以下这个vba例子得到收件箱里的每封mail的内容和发件人地址
Sub SendMail()
Dim myNameSpace As NameSpace
Dim myFolder As MAPIFolder
Dim myItem As MailItem
dim myRecipients As Recipients
Dim I As Integer
Set myNameSpace = Application.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox)
For I = 1 To myFolder.Items.Count
Set myItem = myFolder.Items(I)
Debug.Print myItem.Body
Debug.Print myItem.Reply.Recipients.Item(1)
Debug.Print myItem.Reply.Recipients.Item(1).Address
Debug.Print "-----------------------------"
Next
End Sub