Syntax

expression.GetCustomListNum(ListArray)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
ListArray Required Variant An array of strings.

Return Value
Long

Remarks

This method generates an error if there's no corresponding list.

Example

This example deletes a custom list.

Visual Basic for Applications
n = Application.GetCustomListNum(Array("cogs", "sprockets", _ "widgets", "gizmos")) Application.DeleteCustomList n
get custom list num Get Custom List Num Method Get the id for a specialized list? getcustom getcustomlist GetCustomListNum GetCustomListNum Method GetCustomListNum? Identify the list number of a custom list?

See also: