PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming choosing an action

Reply

choosing an action

 
Thread Tools Rate Thread
Old 01-07-2003, 05:19 PM   #1
suzette
Guest
 
Posts: n/a
Default choosing an action


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
Old 04-07-2003, 04:45 PM   #2
Suzette
Guest
 
Posts: n/a
Default Re: choosing an action

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!

>.
>

  Reply With Quote
Old 04-07-2003, 11:26 PM   #3
Sue Mosher [MVP]
Guest
 
Posts: n/a
Default Re: choosing an action

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!

> >.
> >

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off