Results 1 to 2 of 2

Thread: Setting Flag in Outlook

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455

    Post

    Dear VB users,

    I am busy to make a VB program using MS Outlook.
    At the moment I am trying to set the flags of Outlook but I can't find the property.
    Can someone tell me how to set the flag of Outlook in VB5?

    Source

    Dim objOutlook As New Outlook.Application
    Dim objOutlookMsg As Outlook.MailItem


    Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
    With objOutlookMsg
    .To = "q@q"

    . ???? set flag property ????

    End With


    Nice greetings,

    Michelle.

  2. #2
    Lively Member Ishamel's Avatar
    Join Date
    Nov 1999
    Location
    Edinburgh, Scotland
    Posts
    112

    Post

    What flag property is it that you are wanting to set??

    You could set the 'Flag for Follow up' with this code.

    Code:
    With objOutlookMsg
            .To = "q@q"
            .FlagStatus = olFlagMarked
    End With

Posting Permissions

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



Click Here to Expand Forum to Full Width