Re: if command

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Joel (joelallen123_at_hotmail.com)
Date: 06/27/04


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
>
>



Relevant Pages

  • Re: Resrict method + include reccurrences
    ... I AM delimiting the string value in my code. ... > single or double quotes. ... > Reminder Manager, Extended Reminders, Attachment Options ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: How to tell if (and where) Outlook is installed
    ... > to read the registry key ... > That string value gives you the full path to Outlook.exe and you can parse ... Absolute Beginner's Guide to Microsoft Office Outlook 2003 ... > Reminder Manager, Extended Reminders, Attachment Options ...
    (microsoft.public.outlook.general)
  • Re: Save Html Email only saves partial message.
    ... > item and get it as a string and write that string out as a text stream to a ... You can use Windows scripting code to do that using the ... > Reminder Manager, Extended Reminders, Attachment Options ... >> only has partial email message. ...
    (microsoft.public.outlook.program_vba)
  • Re: How to get MAPI PR_BINARY property as string?
    ... > equivalent character value and concatenate those into a string. ... > Reminder Manager, Extended Reminders, Attachment Options ... >> How to convert returned binary data to string? ...
    (microsoft.public.exchange2000.applications)
  • Re: How to tell if (and where) Outlook is installed
    ... > to read the registry key ... > That string value gives you the full path to Outlook.exe and you can parse ... Absolute Beginner's Guide to Microsoft Office Outlook 2003 ... > Reminder Manager, Extended Reminders, Attachment Options ...
    (microsoft.public.outlook.general)