Returns the NamedObject object that represents the name of a specified array, number, picture, or range. If the named object does not exist, the method returns null.

 public NamedObject GetNamedObject(System.String name)
Public Function GetNamedObject(ByVal name As String) As NamedObject

The string representation of the object's name.

The NamedObject object of a specified array, number, picture, or range, or null if the named object does not exist.

NamedObject obj = wb.GetNamedObject("MyObject");
Dim obj As NamedObject = wb.GetNamedObject("MyObject")