We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Microsoft outlook mailitem, flagicon not working

noisecouk asked
Medium Priority
Last Modified: 2008-01-09

Hoping you can help,

I have some code which creates a new outlook email item, i want to be able to set the colour of the flag when its received.
At the moment i use this line of code
.FlagIcon olGreenFlagIcon

What happens is the email sends fine, when the receipient gets the email it does have a flag but its RED! not green.

Has anyone come across this before, let me know if you need the full code.

Watch Question

From the Outlook VBA Reference .....

FlagIcon Property

Setting the FlagIcon property before sending an item will not set the flag on the item when the recipient receives it.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

But as a work around, you might create a custom mail form and use the ITEM OPEN event to set the flag on the other end.  But this would  require getting around other security issues.


At the moment it does set a flag icon buts its red, not green as i would have thought from the code. I might just have to stop being picky and stick with the red. Anyother ideas??
il close if not.

If these are being sent to the same user, you might have then add a rule to flag them green.

Other than trying the Item Open event, I'm out of other ideas.


Ah good idea, thanks for your help
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.