편집

다음을 통해 공유


TopIndex property

Sets and returns the item that appears in the topmost position in the list.

Syntax

object.TopIndex [= Variant ]

The TopIndex property syntax has these parts:

Part Description
object Required. A valid object.
Variant Optional. The number of the list item that is displayed in the topmost position. The default is 0, or the first item in the list.

Settings

Returns the value -1 if the list is empty or not displayed.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.