Share via


EnterpriseResourceMultiValuen Property

Returns or sets the value or multiple values of its corresponding Enterprise Resource Outline Code for an assignment. The n placeholder can be a number from 20 to 29. Read/write String.

Syntax

expression.EnterpriseResourceMultiValuen

expression Required. An expression that returns an Assignment object.

Remarks

This property is available only in Microsoft Office Project Professional   2003. Values 20 through 29 are reserved for Enterprise Resource Multi-Value codes.

Example

The following example assumes that the Enterprise Resource Multi-Value code 20 is defined to hold skills. It separates the skills into individual array elements and displays each skill to the immediate window.

Sub PrintEnterpriseResourceMultiValue20(objAssignment As Assignment)

   Dim varSkills As Variant
   Dim intIndex As Integer

   varSkills = Split(objAssignment.EnterpriseResourceMultiValue20, _
      Application.EnterpriseListSeparator)

   For intIndex = LBound(varSkills) To UBound(varSkills)
      Debug.Print varSkills(intIndex)
   Next
End Sub

Applies to | Assignment Object, Assignments Collection Object