|
以下代码可以批量修改成"__OK__",即同意.我从收件箱中选择了四封邮件测试 ,运行有点慢.(1.6G主频+736M内存, XP+OUTLOOK 2007), 可以做成窗体,和菜单项,这样就更方便了.
Sub MlReply()
Dim BodyFile As String
Dim olMailItem As MailItem
Dim rMailItem As MailItem
Dim myComments As String
Dim myOlSel As Outlook.Selection
Dim subj As String
myComments = "___OK____: "
Set myOlSel = Application.ActiveExplorer.Selection
For i = 1 To myOlSel.count
Set olMailItem = myOlSel.item(i)
Set rMailItem = olMailItem.Reply
rMailItem.Subject = myComments & rMailItem.Subject
rMailItem.Display
rMailItem.Send
Next
Set rMailItem = Nothing
Set olMailItem = Nothing
End Sub
[ 本帖最后由 aaaaabbbbb 于 2009-5-30 08:18 编辑 ] |
|