Version

AddCellRange(String,Boolean) Method

Adds a new range to the end of the CellRanges
Syntax
'Declaration
 
Public Overloads Sub AddCellRange( _
   ByVal rangeAddress As String, _
   Optional ByVal extendRangeForMergedCells As Boolean _
) 
public void AddCellRange( 
   string rangeAddress,
   bool extendRangeForMergedCells
)

Parameters

rangeAddress
The A1 address of the range to be added
extendRangeForMergedCells
True to adjust the rangeAddress such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also