1

How to set the border for merged cells in the PHP Pear Spreadsheet Excel writer?

Navin
  • 25
  • 1
  • 9

1 Answers1

0

We can writeBlank on the merged cell and apply your pre-defined format.

For Example

$format = [Define your format over here]

$worksheet->writeString( 0, 1, "some Text", $format);
$worksheet->writeBlank( 0, 2, $format);
$worksheet->setMerge(0,1,0,2);
kasspro
  • 16