DeleteItem Method

Contained in the Subgroup Object Deletes a specified item from the current subgroup.

Syntax

subgroup.DeleteItem number

The DeleteItem method syntax has these parts:

Part  Description

subgroup An object expression that evaluates to a SubGroup object.

number  A numeric expression that indicates the index for the item that you wish to delete. See Data Indexing.

 

Return Value

Returns a Boolean value; true if successful, false if not.