property Items.ItemNonworkingUnits(Item as HITEM, [InsideZoom as Variant]) as String
Gets or sets a value that indicates the formula to specify the use non-working units for the item.

TypeDescription
Item as HITEM A long expression that specifies handle of the item being changed.
InsideZoom as Variant A Boolean expression that specifies whether the format is applied to normal view or when the item displays inside zoom units. By default, it is False, so the format is applied to all units, including the inside zoom units. If True, the specified format is applied only to visible inside units in the item. If False, the pattern and the color for non-working days is applied, else if True, the pattern and the color for non-working hours is applied.
String A String expression that specifies the formula to determine the non-working area for the item.
By default, the ItemNonworkingUnits property is empty. The ItemNonworkingUnits property specifies custom non-working units for specified items. If the ItemNonworkingUnits property is not empty and invalid, the item provides no non-working units (all working units). If the ItemNonworkingUnits property is empty the NonworkingDays and NonworkingHours properties specify the default non-working area of the item.

The ItemNonworkingUnits property supports the following keywords:

This property/method supports predefined constants and operators/functions as described here.

For instance:

The control supports the following ways of specify the non-working parts for items: