0
行動時,我有這樣這讓我表演動作回覆,轉發和撰寫電子郵件時,代碼:觸發執行從特定帳戶
Public WithEvents myItem As Outlook.MailItem
Private Sub Application_ItemLoad(ByVal Item As Object)
If Item.Class = olMail Then
Set myItem = Item
End If
End Sub
Private Sub myItem_Open(Cancel As Boolean)
msgbox ("hello world")
End Sub
現在我想自動CC添加收件人,只有當特定的帳戶我我正在回覆,轉發或撰寫新郵件。我是完全noob編碼。任何線索如何開始?感謝您分享任何知識。