PC Review


Reply
Thread Tools Rate Thread

choosing an action

 
 
suzette
Guest
Posts: n/a
 
      1st Jul 2003
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!
 
Reply With Quote
 
 
 
 
Suzette
Guest
Posts: n/a
 
      4th Jul 2003
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" <(E-Mail Removed)> wrote in message

news:088201c33ff4$ddb9d760$(E-Mail Removed)...
>> 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!

>.
>

 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      5th Jul 2003
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" <(E-Mail Removed)> wrote in message news:010701c3424b$ac642310$(E-Mail Removed)...
>
> 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" <(E-Mail Removed)> wrote in message

> news:088201c33ff4$ddb9d760$(E-Mail Removed)...
> >> 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!

> >.
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 Macros - SendObject action, Message Text action argume rgille Microsoft Access Macros 8 28th Feb 2012 07:29 PM
Excell copy action pauses for 15 second for the smallest action Meekal Microsoft Excel Misc 1 28th Jan 2010 04:30 PM
How to Change the Shutdown Action To Reboot Action in statr menu shatztal Windows XP General 12 13th Sep 2009 06:50 PM
action requests result in a popup menu with no action Gray Fox IA Microsoft Outlook Installation 0 29th Sep 2008 04:48 AM
Macro open query action with action fail =?Utf-8?B?QW5kcmV3?= Microsoft Access Macros 1 15th Mar 2005 12:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 AM.