_Application.GetCustomListNum Method

Returns the custom list number for an array of strings. You can use this method to match both built-in lists and custom-defined lists.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function GetCustomListNum ( _
    ListArray As Object _
) As Integer
'Usage
Dim instance As _Application
Dim ListArray As Object
Dim returnValue As Integer

returnValue = instance.GetCustomListNum(ListArray)
int GetCustomListNum(
    Object ListArray
)

Parameters

  • ListArray
    Type: System.Object

    Required Object. An array of strings.

Return Value

Type: System.Int32

Remarks

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

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace