'Usage Dim instance As CustomStyleList Dim styleID As String Dim value As Integer value = instance.IndexOf(styleID)
Parameters
- styleID
- A string representing the ID to locate.
Return Value
The zero-based index of the first ExcelStyle within the entire collection whose ID matches styleID, if found; otherwise, returns -1.