Y
Y
yura_born2019-01-24 09:47:41
PHP
yura_born, 2019-01-24 09:47:41

Error when merging cells, how to fix?

Hello!
PHP+PHPSPREADSHEET
Initially merge cells horizontally

$worksheet->mergeCells('F11:P11');
$worksheet->mergeCells('F12:P12');

Everything is merged normally, but after that I need to merge these cells vertically, I do this. The code works without errors, but when I open the file in Excel, the message "Error in the content part of the workbook 1.xlsx Do you want to try to restore?" I press yes. Correction window: Deleted entries: Merging cells from a part ..... Can someone come across a thread?
$worksheet->mergeCells('F11:F12');

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question