Table of Contents

TExcelFile.CellMergedNext Method

Use this method to enumerate all merged cells in a sheet.

Syntax

Unit: FlexCel.Core

function TExcelFile.CellMergedNext(var state: TCellMergedState): TXlsCellRange; virtual; abstract;

Parameters

<-> Parameter Type Description
var state TCellMergedState This struct holds the current merged cell being enumerated and is used by the method to return the next cell in the enumeration. To get the first value, create it with TCellMergedState.Init()

Returns

The next merged cell in the sheet.

See also