Merge Cells

Function Prototype

mergeCells(string $scope, string $data[, resource $formatHandler]): self

string $scope

Cell range

string $data

Data

resource $formatHandler

cell style

example

$excel->fileName("test.xlsx")
   ->mergeCells('A1:C1', 'Merge cells')
   ->output();

Last updated