ComboBoxDefinition.AddItem Method

Parent Object: ComboBoxDefinition

Description

Adds Item to ComboBox.

Syntax

ComboBoxDefinition.AddItem( Item As String, [Index] As Long )

Parameters

Name Type Description
Item String Input String that specifies the content of the item.
Index Long Optional input Long that specifies the position of the item in the list. If not specified, the item is added to the end of the list.

This is an optional argument whose default value is 0.

Version

Introduced in version 9