![]() |
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
|
|||
|
|||
![]()
Your help is much appreciated. Thank you.
Question: Is it possible to find out what the user clicked on(Forward, Reply, New, etc) and make a decision based on such a finding? I would like to grab some custom properties from an MailItem based on what the user action; if the user clicked on 'Reply', then I would recycle property [A] and [b], but if the user clicked on 'New', then I would like to grab only [A]. Thank you for your time and effort. |
Ads |
#2
|
|||
|
|||
![]()
At the time it is created, a reply always has Recipients.Count 0 and a non-blank Subject property. A forward has a non-blank Subject and body, but Recipients.Count = 0. A completely new item has blank subject and body and Recipients.Count = 0.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Naji" wrote in message ... Your help is much appreciated. Thank you. Question: Is it possible to find out what the user clicked on(Forward, Reply, New, etc) and make a decision based on such a finding? I would like to grab some custom properties from an MailItem based on what the user action; if the user clicked on 'Reply', then I would recycle property [A] and [b], but if the user clicked on 'New', then I would like to grab only [A]. Thank you for your time and effort. |
#3
|
|||
|
|||
![]()
Thank you so much for your answer. GOD bless you.
I tried your suggestion and it worked perfectly. Please accept my regards. Thank you again! "Sue Mosher [MVP-Outlook]" wrote: At the time it is created, a reply always has Recipients.Count 0 and a non-blank Subject property. A forward has a non-blank Subject and body, but Recipients.Count = 0. A completely new item has blank subject and body and Recipients.Count = 0. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Naji" wrote in message ... Your help is much appreciated. Thank you. Question: Is it possible to find out what the user clicked on(Forward, Reply, New, etc) and make a decision based on such a finding? I would like to grab some custom properties from an MailItem based on what the user action; if the user clicked on 'Reply', then I would recycle property [A] and [b], but if the user clicked on 'New', then I would like to grab only [A]. Thank you for your time and effort. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Everytime i click a link in O/E email, it opens a 'new' browser window? | JethroUK© | Outlook Express | 17 | April 11th 07 10:34 AM |
Changing the "To" field when "reply" is clicked | Sanjay_S | Outlook and VBA | 1 | November 17th 06 03:18 PM |
How do I find the out of office reply? | Out of Office reply | Outlook - General Queries | 1 | June 13th 06 06:58 PM |
in reply outlook, can't find signatures? how to put it back? | Brad | Outlook - General Queries | 2 | April 8th 06 02:05 AM |
'New' Old Messages | RJB | Outlook Express | 0 | March 15th 06 07:50 PM |