in reply to xlsx _quote_sheetname
Hi czechtraveller,
- First of, I think you have to re-format your post, see How do I post a question effectively?
-
Check through your code, and reformatting. I have this:
Which work fine for me, with no error message.use warnings; use strict; use Excel::Writer::XLSX; my $xlsfile = 'Excel in 2007.xlsx'; my $workbook = Excel::Writer::XLSX->new($xlsfile); # Add a worksheet my $worksheet = $workbook->add_worksheet('Inputs'); my %font_basic; # add your format parameters my $format1 = $workbook->add_format(%font_basic); my $worksheet2 = $workbook->add_worksheet('Results'); $workbook->close();
I think you need check again for where a method like this _quote_sheetname is been used on Excel::Writer::XLSX::Worksheet in your script - You can as well check Excel::Writer::XLSX::Examples for Excel::Writer::XLSX usage.
- Update:
"..The problem was in the autofilter() function...what to do to make the xlsx support autofilter method.."
Why is that? I don't think you have to write your own autofilter method. Autofilter is supported in that module.
Check this: Example: Autofilter
Except, you have something else in mind.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
In Section
Seekers of Perl Wisdom