The problem was in the autofilter() function
I use Perl 5.12.4 so not sure what to do to make the xlsx support autofilter method. They claim it is not fully supported.
Have you ever received this error?
Can't locate object method "_quote_sheetname" via package "Excel::Writ
+er::XLSX::Worksheet" at C:/Perl/lib/Excel/Writer/XLSX/Worksheet.pm li
I checked my code 100x times and still cannot see what would be the source of this problem. My program should print out 3 sheets in a file but gets stuck before the 2nd sheet.
my $workbook = Excel::Writer::XLSX->new($xlsfile);
# Add a worksheet
my $worksheet = $workbook->add_worksheet( 'Inputs');
my $format1 = $workbook->add_format( %font_basic );
my $worksheet2 = $workbook->add_worksheet('Results');
If I update their code then it complains about this method:
I appreciate your help.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||