GetCustomListNum method
Collapse the table of content
Expand the table of content

_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


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.

© 2016 Microsoft