PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
choosing an action
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
choosing an action
![]() |
choosing an action |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
How do I automate choosing what form to use when a certain
condition is met plus a certain action was chosen. Example: if the recipient is equal to a certain email address and the action button pressed was Yes, then form1 is sent otherwise it sends form2. Thanks! |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Thank you for the tip.
I've already used the CustomAction event handler & have met my if statement already but how do I change the MessageClass to use/send the particular form that I want? Are ther any other references that you can recommend? Thanks again! >-----Original Message----- >You'll need to code this into the CustomAction event handler, changing the MessageClass of the Response item. >-- >Sue Mosher, Outlook MVP >Outlook and Exchange solutions at http://www.slipstick.com >Author of > Microsoft Outlook Programming: Jumpstart > for Administrators, Power Users, and Developers > http://www.slipstick.com/books/jumpstart.htm > > >"suzette" <stgo0727@hotmail.com> wrote in message news:088201c33ff4$ddb9d760$a001280a@phx.gbl... >> How do I automate choosing what form to use when a certain >> condition is met plus a certain action was chosen. >> >> Example: if the recipient is equal to a certain email >> address and the action button pressed was Yes, then form1 >> is sent otherwise it sends form2. >> >> Thanks! >. > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
It should be as simple as:
Response.MessageClass = "IPM.Note.whatever" Response.Display where Response is the item passed as an argument by the CustomAction event. -- Sue Mosher, Outlook MVP Outlook and Exchange solutions at http://www.slipstick.com Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.slipstick.com/books/jumpstart.htm "Suzette" <stgo0727@hotmail.com> wrote in message news:010701c3424b$ac642310$a301280a@phx.gbl... > > I've already used the CustomAction event handler & have > met my if statement already but how do I change the > MessageClass to use/send the particular form that I want? > > > >-----Original Message----- > >You'll need to code this into the CustomAction event > handler, changing the MessageClass of the Response item. > > > >"suzette" <stgo0727@hotmail.com> wrote in message > news:088201c33ff4$ddb9d760$a001280a@phx.gbl... > >> How do I automate choosing what form to use when a > certain > >> condition is met plus a certain action was chosen. > >> > >> Example: if the recipient is equal to a certain email > >> address and the action button pressed was Yes, then > form1 > >> is sent otherwise it sends form2. > >> > >> Thanks! > >. > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

