Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

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/ li +ne 987.
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: $workbook->close();

I appreciate your help.


In reply to xlsx _quote_sheetname by czechtraveller

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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:
    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
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (7)
    As of 2015-01-25 23:17 GMT
    Find Nodes?
      Voting Booth?

      My top resolution in 2015 is:

      Results (185 votes), past polls