How to set the border for merged cells in the PHP Pear Spreadsheet Excel writer?
1条回答 默认 最新
- dongyou9818 2019-07-15 03:44关注
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);
解决 无用评论 打赏 举报