Export (0) Print
Expand All
Expand Minimize

_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)

int GetCustomListNum(
	Object ListArray
)

Parameters

ListArray
Type: System.Object

Required Object. An array of strings.

Return value

Type: System.Int32

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

Show:
© 2015 Microsoft