Click or drag to resize

NamedRangeCollection Methods

The NamedRangeCollection type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAdd(String, CellRange)
Adds a new named range. Named ranges are used to represent cells, ranges of cells, formulas or constant values.
Public methodCode exampleAdd(String, CellRange, Boolean)
Adds a new named range. Named ranges are used to represent cells, ranges of cells, formulas or constant values.
Public methodGetEnumerator
Returns an enumerator that can iterate through a collection.
Public methodSetPrintArea(CellRange)
Sets print area.
Public methodSetPrintArea(CellRange)
Sets multi-range print area.
Public methodSetPrintArea(IEnumerableCellRange)
Sets multi-range print area.
Public methodSetPrintTitles(ExcelColumn, Int32)
Sets print titles (columns to repeat at left).
Public methodSetPrintTitles(ExcelRow, Int32)
Sets print titles (rows to repeat at top).
Public methodSetPrintTitles(ExcelColumnRowBase, Int32, ExcelColumnRowBase, Int32)
Sets print titles.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that can iterate through a collection.
Top
See Also