Opportunity Status Property

Gets an Integer value representing the status of an Opportunity. The attribute for this value is read-only.

expression**.ItemProperties["Opportunity Status"].Value**

expression   A variable that represents an Opportunity object.

Remarks

The Opportunity Status property provides the following return values:

  • Returns 1 if the sales stage is Closed Won.
  • Returns 2 if the sales stage is Closed Lost.
  • Returns 0 for all other sales stage values.

The Outlook UserProperty type is olNumber.

See Also

2007 Office System: Updated Developer Content