AddItem Method

Contained in the Subgroup Object Adds a new data item to this subgroup.

Syntax

subgroup.AddItem number

The AddItem method syntax has these parts:

Part  Description

subgroup An object expression that evaluates to a SubGroup object.

number  A numeric expression that indicates the value for the new item.

Return Value

Returns a long equal to the index of the new item. See Data Indexing.