Creates an 
XLNamedRange object and appends it to the collection. This overload creates a range containing a single cell.
 
            
            
            
            
            
            
            
            'Declaration
 
Public Overloads Function Add( _
   ByVal  As System.String, _
   ByVal  As XLSheet, _
   ByVal  As System.Integer, _
   ByVal  As System.Integer _
) As XLNamedRange
             
        
            
            public XLNamedRange Add( 
   System.string ,
   XLSheet ,
   System.int ,
   System.int 
)
             
        
             
        
            Parameters
- name
 
- The name of XLNamedRange object.
 - sheet
 
- The worksheet the range belongs to.
 - rowIndex
 
- The row index of the cell in the range.
 - colIndex
 
- The column index of the cell in the range.
 
            
            Return Value
A reference to the object if it was successfully added to the collection, or null if the object could not be added (usually because it overlaps another cell range already in the collection).
 
            
            
            
            
            Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2