Excel for WinRT
Add(XLNamedRange) Method


The XLNamedRange object to add to the collection.
Appends an XLNamedRange object to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal namedRange As XLNamedRange _
) As XLNamedRange
'Usage
 
Dim instance As XLNamedRangeCollection
Dim namedRange As XLNamedRange
Dim value As XLNamedRange
 
value = instance.Add(namedRange)
public XLNamedRange Add( 
   XLNamedRange namedRange
)

Parameters

namedRange
The XLNamedRange object to add to the collection.

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).
See Also

Reference

XLNamedRangeCollection Class
XLNamedRangeCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback