This documentation is archived and is not being maintained.

Range.Merge Method 

Creates a merged cell from the specified Range object.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim Across As Object
Dim range1 As Range

void Merge(
	[In, Optional] object Across
public void Merge(
	/*in*/System.Object Across
function Merge(
	 Across : Object



Optional Object. True to merge cells in each row of the specified range as separate merged cells. The default value is False.

The value of a merged range is specified in the cell of the range's upper-left corner.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms