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

A string representation of the object's name.

A 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.

NamedObject obj = ws.GetNamedObject("MyNamedObject");
Dim obj As NamedObject = ws.GetNamedObject("MyNamedObject")