K
kara
Is there a way to set the Follow Up flag on contacts through vba? The
FlagRequest property is not valid on a ContactItem, although it is on a
MailItem; I could not find any 'flag' properties on Contact items, but assume
they must be there somewhere since flags can be set via the standard
interface.
For fun, I tried to use the code below which is successful in setting flags
for mail items in a selected folder, but the same code used with
'ContactItem' rather than 'MailItem' generates an error.
Dim myFolder as Outlook.MAPIFolder
Dim objItem as MailItem
For Each objItem In myFolder.Items
objItem.FlagRequest = "Follow Up"
objItem.Save
Next
What am I missing? Any help appreciated.
FlagRequest property is not valid on a ContactItem, although it is on a
MailItem; I could not find any 'flag' properties on Contact items, but assume
they must be there somewhere since flags can be set via the standard
interface.
For fun, I tried to use the code below which is successful in setting flags
for mail items in a selected folder, but the same code used with
'ContactItem' rather than 'MailItem' generates an error.
Dim myFolder as Outlook.MAPIFolder
Dim objItem as MailItem
For Each objItem In myFolder.Items
objItem.FlagRequest = "Follow Up"
objItem.Save
Next
What am I missing? Any help appreciated.