ComboBox.DeleteItem

ComboBox.DeleteItem (

string ObjectName,

number Item )

Description

Removes an item from a combobox object.

Parameters

ObjectName

(string) The name of the combobox object.

Item

(number)The index (line number) of the item to remove from the combobox object. The first item in the list has an index of 1. You can use an index of -1 to remove the last item in the list.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions