in reply to Unable to Write Spreadsheet Text in Color
Also, you need to specify the format as the third argument to write in order to use it:
$format->set_color( 'red' ); $worksheet->write( 'A1', 'test', $format );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unable to Write Spreadsheet Text in Color
by roho (Bishop) on Mar 13, 2020 at 01:39 UTC |