Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Examples of Setting Msg Flags (OL 2000)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    Can some one please give me an example of how to set a message flag in Outlook 2000?

    What I want to do is set a flag based on a message subject tag line and then sort by that flag. Say a flag to Reply.

    I looked into the .FlagRequest and the FlagStatus but could not understand what and how they work.

    Thanks in advance.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Examples of Setting Msg Flags (OL 2000)

    Wassim, you first set the flag via FlagStatus before any other Flag Property can be set:

    With itmMessage
    .FlagStatus = olFlagMarked ' Sets the flag.
    ' FlagStatus = olFlagComplete checks the "Completed" box in the dialog box.
    ' FlagStatus = olNoFlag clears the Flag.
    .FlagDueBy = Date
    .FlagRequest = "Please Review" ' Text for the "Flag To" Field in the dialog box
    .Save
    End With

    works for me. If you have cleared the flag, you can no longer set any of its Properties.
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Examples of Setting Msg Flags (OL 2000)

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> John

    This also worked for me.

    Is there a way to set flags like the Follow up, and FYI just as you get when you right-mouse click on the message and choose Flag for Follow up?

    I see that the .FlagRequest is an open text field that you can use any way you like, but again, if you say Follow up will it give you a Follow up flag, or will it just simply display a message "Follow Up".

    I guess I need to wait until I run the modified code to see what these really look like. I'll go do that right now.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •