การสร้าง Code cc/bcc แบบอัตโนมัติบน Microsoft Outlook

  1. In Outlook, go to the Tools menu, Macro option, and select Visual Basic Editor.

  2. In the Project listing (upper left box on the screen), expand Project1 (VbaProject.OTM) and within that expand Microsoft Office Outlook Objects.

  3. Double-click the ThisOutlookSession project to open it. In most cases this is empty, unless you’ve already been modifying your copy of Outlook with macros and such.

  4. In the code window that opens up, choose Application from the left most drop-down list box, and ItemSend from the other (it might automatically be selected for you).

  5. You should be presented with something like this:

  1. Copy and paste the following code :

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

Dim objMe As Recipient

Set objMe = Item.Recipients.Add("your email here")

objMe.Type = olBCC

objMe.Resolve

Set objMe = Nothing

End Sub

  1. Save the VbaProject.OTM file, close the Visual Basic editor, return to Outlook, and start sending messages.

ที่มา http://www.idealhosting.in.th/forums/index.php/topic,5.0.html

โดยก่อน Setting เปิดใช้งาน Developer Menu ตามวิธีนี้ก่อนนะครับ

http://www.idealhosting.in.th/forums/index.php/topic,4.0.html

+1 ครับ

Update บทความทุกอาทิตย์เลย

น่าสนใจครับ ขอบคุณครับ