说不定你们公司的IT就不想让你们用。试试以下方法看是否可以,我对EXCHANGE不了解,不清楚是否代码可以起作用。我在OUTLOOK2003下试过了,可以新建一个邮件,回复所有人。 插入一个模块,将以下代码拷贝进去。当你打开一个邮件阅读后,如果想回复所有人,就运行此段代码。 Sub MyReplyToAll() Dim app As New Outlook.Application Dim objItem As Object Dim mail As MailItem Set objItem = GetCurrentItem() Dim replyitem As Outlook.MailItem Set replyitem = objItem.ReplyAll replyitem.Save replyitem.Display End Sub
Function GetCurrentItem() As Object Dim objApp As Outlook.Application Set objApp = CreateObject("Outlook.Application") On Error Resume Next Select Case TypeName(objApp.ActiveWindow) Case "Explorer" Set GetCurrentItem = objApp.ActiveExplorer.Selection.item(1) Case "Inspector" Set GetCurrentItem = objApp.ActiveInspector.CurrentItem Case Else End Select Set objApp = Nothing End Function
|