#!/usr/bin/perl use strict; use Spreadsheet::WriteExcel; use Spreadsheet::WriteExcel::Styler; my $workbook = Spreadsheet::WriteExcel->new('output.xls'); my $worksheet = $workbook->add_worksheet(); my $styler = Spreadsheet::WriteExcel::Styler->new($workbook); $styler->add_styles( highlighted => {bg_color => 'yellow'}, ); my $data = "OK"; $worksheet->write(0, 0, $data, $styler->({highlighted => 1}));
In reply to Re: highlight row in excel
by Khen1950fx
in thread highlight row in excel
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |