-
I am having a problem trying to apply borders to cells. I get the following error message: "Fatal error: Uncaught Error: Class 'Border' not found in ..."
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Do you have a |
Beta Was this translation helpful? Give feedback.
The
Border
class is namespaced inPhpOffice\PhpSpreadsheet\Style
.Do you have a
use PhpOffice\PhpSpreadsheet\Style\Border;
at the top of your script? Otherwise use a FQDN.