in reply to Multiple formats in Excel cell (Spreadsheet::WriteExcel)

You can do this with write_rich_string() in Excel::Writer::XLSX, the replacement for Spreadsheet::WriteExcel.
my $bold = $workbook->add_format( bold => 1 ); my $italic = $workbook->add_format( italic => 1 ); $worksheet->write_rich_string( 'A1', 'This is ', $bold, 'bold', ' and this is ', $italic, 'italic' );