Discussion:
VBA for Follow Up Flags "Call", "Read", etc.
(too old to reply)
OutdoorRuss
2010-05-27 21:20:01 UTC
Permalink
Is there code to set a Follow Up Flag for "Call", "Read", etc. for a
task or mail item? I know how to flag a mail item as a task with a
date, etc. but not how to do custom flags, etc.

Thanks!
Ken Slovak - [MVP - Outlook]
2010-05-28 13:35:04 UTC
Permalink
Outlook version?

Tasks don't have flags. You can flag a mail item, look in the Object Browser
at MailItem and the Flag* properties. You can set text for the flag using
the FlagRequest string property.

However, in Outlook 2007 and 2010 most of the Flag* properties are hidden
and deprecated other than FlagRequest. And what you see in the UI may not be
quite what you wanted. So check it out.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by OutdoorRuss
Is there code to set a Follow Up Flag for "Call", "Read", etc. for a
task or mail item? I know how to flag a mail item as a task with a
date, etc. but not how to do custom flags, etc.
Thanks!
OutdoorRuss
2010-05-28 17:25:12 UTC
Permalink
Ken,

Thanks for the reply. I am using the FlagRequest to set the property
as you suggested.

I am using 2007. Am I right in assuming it is no longer possible to
get color flags, even programmatically? I attempted to get a green
flag using Item.FlagIcon = olGreenFlagIcon and got a flag, but it was
red.
Ken Slovak - [MVP - Outlook]
2010-05-28 18:25:08 UTC
Permalink
Correct. They mucked about with the colored flags in 2007.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by OutdoorRuss
Ken,
Thanks for the reply. I am using the FlagRequest to set the property
as you suggested.
I am using 2007. Am I right in assuming it is no longer possible to
get color flags, even programmatically? I attempted to get a green
flag using Item.FlagIcon = olGreenFlagIcon and got a flag, but it was
red.
Loading...