![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Macro for New mail with SoB
I already have something that's semi working, if i already open a new e-mail and use this macro in Outlook 2003. It'll categorize the mail under receptie (reception) and populate the From (SendOnBehalf) field with but ONLY if the from field is hidden (not tagged in View). If the "From" view field is already tagged it will not populate this field. What i'm basically trying to accomplish for our dear reception ladies is 1 does all button. - Open a new mail - Populate the 'from' field with a given e-mail adress - Set the category field to 'reception' ( this already works) Below is what i got sofar, but i could use some pointers to finish it off (i'm not a coding expert) ============ Sub Reception() Dim myOlApp As New Outlook.Application Dim myItem As Object Set myItem = myOlApp.ActiveInspector.CurrentItem myItem.Categories = "xxxxx" Application.ActiveInspector.CurrentItem.SentOnBeha lfOfName = "xxxxx" End Sub ============ Last edited by Ciryadin : July 27th 11 at 12:20 PM. |
Ads |
#2
|
|||
|
|||
![]()
friendly bump
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
macro to forward mail | mugo | Outlook and VBA | 1 | October 26th 07 01:13 PM |
Macro to download the mail | mrbalaje | Outlook and VBA | 0 | June 2nd 07 03:15 PM |
macro's in Outlook (e-mail) | Ben | Outlook and VBA | 5 | March 5th 07 11:24 AM |
How to write a program/macro to send a mail to a groups of e-mail | Adi | Outlook and VBA | 8 | December 4th 06 07:20 AM |
Macro within a Mail Message | Tia | Outlook and VBA | 1 | February 7th 06 03:47 PM |