Re: if command
From: Joel (joelallen123_at_hotmail.com)
Date: 06/27/04
- Next message: Karen: "DateTimePicker in custom forms"
- Previous message: Simon Smith: "CustomAction event not firing on OL 2002"
- In reply to: Ken Slovak - [MVP - Outlook]: "Re: if command"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 27 Jun 2004 08:19:17 -0700
Thank you!
That worked great.
"Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message
news:uT3jUreWEHA.500@TK2MSFTNGP09.phx.gbl...
> For a string value? Look at the Help on the InStr function. For example:
> If InStr(1, Item.UserProperties("WindowRating") ,"20") > 0 Then
> ' "20" is in the string. Return value of InStr is the position in
> the string
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "Joel" <joelallen123@hotmail.com> wrote in message
> news:OjTaBKaWEHA.4048@TK2MSFTNGP12.phx.gbl...
> Right now this says if windowrating = 20.
> If Item.UserProperties("WindowRating") = "20" Then
> How can I make is say if windowrating contains 20? So if window rating =
> 20,45,60, then it would be true. I just don't know the syntax.
>
> Thanks for your help - Joel
>
>
- Next message: Karen: "DateTimePicker in custom forms"
- Previous message: Simon Smith: "CustomAction event not firing on OL 2002"
- In reply to: Ken Slovak - [MVP - Outlook]: "Re: if command"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|