ListBarPages.Insert

Syntax

ListBarPages.Insert( pageName, insertBefore)

Return Value

ListBarPage

Purpose

Adds a new item to the collection and returns a reference to the new ListBarPage.

Parameters

pageName As String

[In] Specifies the name for the new ListBarPage. ListBarPage names must be unique. ListBarPage names are not case-sensitive.

insertBefore As Long

[In] Specifies the index of the existing ListBarPage before which the new ListBarPage is inserted. To insert the new ListBarPage at the end, pass -1 to this parameter.

See Also

ListBarPage