# ExcelWorksheetMergeResult

Describes a completed worksheet merge operation.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelWorksheetMergeResult.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L9)

**Modifiers**

sealed

Describes a completed worksheet merge operation.

## Inheritance

- object
- ExcelWorksheetMergeResult

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [ExcelDocument.MergeWorksheets](/api/excel/officeimo-excel-exceldocument/#method-mergeworksheets-officeimo-excel-excelsheet-officeimo-excel-excelsheet-officeimo-excel-excelworksheetmergeoptions)

Filter members 

Show inherited

## Constructors

`public ExcelWorksheetMergeResult(string sourceSheetName, string targetSheetName, string sourceRange, string targetRange, int rowsCopied, int columnsCopied, bool headerSkipped)` [#](#constructor-ctor-string-string-string-string-int32-int32-boolean)

[ExcelWorksheetMergeResult.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L9)

Creates a merge result.

Parameters

**sourceSheetName string required**

**targetSheetName string required**

**sourceRange string required**

**targetRange string required**

**rowsCopied int required**

**columnsCopied int required**

**headerSkipped bool required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string SourceSheetName { get; }` [#](#property-sourcesheetname)

[ExcelWorksheetMergeResult.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L27)

Source worksheet name.

`public string TargetSheetName { get; }` [#](#property-targetsheetname)

[ExcelWorksheetMergeResult.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L30)

Target worksheet name.

`public string SourceRange { get; }` [#](#property-sourcerange)

[ExcelWorksheetMergeResult.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L33)

Source A1 range read by the merge operation.

`public string TargetRange { get; }` [#](#property-targetrange)

[ExcelWorksheetMergeResult.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L36)

Target A1 range occupied by copied cells.

`public int RowsCopied { get; }` [#](#property-rowscopied)

[ExcelWorksheetMergeResult.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L39)

Number of source rows copied.

`public int ColumnsCopied { get; }` [#](#property-columnscopied)

[ExcelWorksheetMergeResult.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L42)

Number of columns copied.

`public bool HeaderSkipped { get; }` [#](#property-headerskipped)

[ExcelWorksheetMergeResult.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelWorksheetMergeResult.cs#L45)

Whether the first source row was skipped as a header.

<!-- PowerForge markdown artifact sha256:B376399B98320F425D0E127F770DA1331F06C56FE72C791D2F597827F771FFE4 -->
