I'm using the perl module Excel::Writer::XLSX. The following code snippet creates a header line in the result file.
use strict;
use warnings;
use Excel::Writer::XLSX;
my $workbook = Excel::Writer::XLSX->new("myExcel.xlsx");
my $worksheet = $workbook->add_worksheet("Sheet1");
my $ccnt = 0;
foreach my $entry (('Head1','Head2','Head3')) {
$worksheet->write(0,$ccnt++,$entry);
}
$workbook->close();
Now, I'd like to fix that first line to keep it visible while downscrolling. Although there is a bunch of good documentation on CPAN, I didn't find how to manage this.