Skip Menu |

This queue is for tickets about the Spreadsheet-WriteExcel CPAN distribution.

Maintainer(s)' notes

If you are reporting a bug in Spreadsheet::WriteExcel here are some pointers

1) State the issues as clearly and as concisely as possible. A simple program or Excel test file (see below) will often explain the issue better than a lot of text.

2) Provide information on your system, version of perl and module versions. The following program will generate everything that is required. Put this information in your bug report.

    #!/usr/bin/perl -w

    print "\n    Perl version   : $]";
    print "\n    OS name        : $^O";
    print "\n    Module versions: (not all are required)\n";

    my @modules = qw(
                      Spreadsheet::WriteExcel
                      Parse::RecDescent
                      File::Temp
                      OLE::Storage_Lite
                      IO::Stringy
                      Spreadsheet::ParseExcel
                      Scalar::Util
                      Unicode::Map
                    );

    for my $module (@modules) {
        my $version;
        eval "require $module";

        if (not $@) {
            $version = $module->VERSION;
            $version = '(unknown)' if not defined $version;
        }
        else {
            $version = '(not installed)';
        }

        printf "%21s%-24s\t%s\n", "", $module, $version;
    }

    __END__

3) Upgrade to the latest version of Spreadsheet::WriteExcel (or at least test on a system with an upgraded version). The issue you are reporting may already have been fixed.

4) Create a small but complete example program that demonstrates your problem. The program should be as small as possible. At the same time it should be a complete program that generates an Excel file. If the Spreadsheet::WriteExcel section is part of a much larger program then simplify it down to the essentials. Simulate any DB reads with an array.

5) Say if you tested with Excel, OpenOffice, Gnumeric or something else. Say which version of that application you used.

6) If you are submitting a patch you should check with the author whether the issue has already been patched or if a fix is in the works. Patches should be accompanied by test cases.

Asking a question

If you would like to ask a more general question there is the Spreadsheet::WriteExcel Google Group.

Report information
The Basics
Id: 40375
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Spreadsheet-WriteExcel

People
Owner: Nobody in particular
Requestors: yerbol777 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



I want to autofilter and protect excel file. there is no problem with protecting. But when I tried to use autofilter in both ActivePerl 5.8.8 Build 824 and ActivePerl 5.10.0 Build 1004 in the result which i got these: C:\xampp\htdocs\test>C:\Perl\bin\perl.exe autofilter.pl (in cleanup) The Parse::RecDescent module must be installed in order to write an Excel formula at C:/Perl/lib/Spreadsheet/WriteExcel/Workbook.pm line 12 37 ( with 5.8.8) C:\xampp\htdocs\test>C:\Perl58\bin\perl.exe autofilter.pl (in cleanup) The Parse::RecDescent module must be installed in order to write an Excel formula at C:/Perl58/lib/Spreadsheet/WriteExcel/Workbook.pm line 1237 ( with 5.8.8) Please help... Thank you.
On Sat Oct 25 12:37:49 2008, Body wrote: Show quoted text
> I want to autofilter and protect excel file. there is no problem with > protecting. > > But when I tried to use autofilter in both ActivePerl 5.8.8 Build 824 > and ActivePerl 5.10.0 Build 1004 > in the result which i got these: > > C:\xampp\htdocs\test>C:\Perl\bin\perl.exe autofilter.pl > (in cleanup) The Parse::RecDescent module must be installed in > order to > write an Excel formula at > C:/Perl/lib/Spreadsheet/WriteExcel/Workbook.pm line 12 > 37 ( with 5.8.8) > > C:\xampp\htdocs\test>C:\Perl58\bin\perl.exe autofilter.pl > (in cleanup) The Parse::RecDescent module must be installed in > order to > write an Excel formula at > C:/Perl58/lib/Spreadsheet/WriteExcel/Workbook.pm line > 1237 ( with 5.8.8) > > Please help...
Hi, This error just means that you have to install the Parse::RecDescent module (which is used by WriteExcel to parse formulas): http://search.cpan.org/~dconway/Parse-RecDescent/ It is a pre-requisite for Spreadsheet::WriteExcel and should have been installed automatically (or otherwise) when you installed Spreadsheet::WriteExcel. John. --
Subject: autofilter and protect
From: yerbol777 [...] gmail.com
thank you. i have already found my silly mistake. :) No i did autofilter and protected it. The problem is when i protect it the autofilter is disabled. Is it possible to enable autofilter while it is protected In excel it is possible manually but by perl i don't know... On Sun Oct 26 14:43:09 2008, JMCNAMARA wrote: Show quoted text
> On Sat Oct 25 12:37:49 2008, Body wrote:
> > I want to autofilter and protect excel file. there is no problem with > > protecting. > > > > But when I tried to use autofilter in both ActivePerl 5.8.8 Build 824 > > and ActivePerl 5.10.0 Build 1004 > > in the result which i got these: > > > > C:\xampp\htdocs\test>C:\Perl\bin\perl.exe autofilter.pl > > (in cleanup) The Parse::RecDescent module must be installed in > > order to > > write an Excel formula at > > C:/Perl/lib/Spreadsheet/WriteExcel/Workbook.pm line 12 > > 37 ( with 5.8.8) > > > > C:\xampp\htdocs\test>C:\Perl58\bin\perl.exe autofilter.pl > > (in cleanup) The Parse::RecDescent module must be installed in > > order to > > write an Excel formula at > > C:/Perl58/lib/Spreadsheet/WriteExcel/Workbook.pm line > > 1237 ( with 5.8.8) > > > > Please help...
> > Hi, > > This error just means that you have to install the Parse::RecDescent > module (which is used by WriteExcel to parse formulas): > > http://search.cpan.org/~dconway/Parse-RecDescent/ > > It is a pre-requisite for Spreadsheet::WriteExcel and should have been > installed automatically (or otherwise) when you installed > Spreadsheet::WriteExcel. > > John.
Download autofilter.jpg
image/jpeg 73.7k
autofilter.jpg
On Sun Oct 26 14:55:29 2008, Body wrote: Show quoted text
> Now i did autofilter and protected it. > The problem is when i protect it the autofilter is disabled. > Is it possible to enable autofilter while it is protected
Hi, I've moved this discussion over to the Spreadsheet::WriteExcel Google group where it would be of interest to more people. See the following for an explanation of how to do this: http://groups.google.com/group/spreadsheet-writeexcel/browse_thread/thread/e11b903aae54d3c8?hl=en John. --
From: yerbol777 [...] gmail.com
Thank you very much !!!! That's great. On Lun. 27 Oct. 2008 14:50:50, JMCNAMARA wrote: Show quoted text
> On Sun Oct 26 14:55:29 2008, Body wrote: >
> > Now i did autofilter and protected it. > > The problem is when i protect it the autofilter is disabled. > > Is it possible to enable autofilter while it is protected
> > Hi, > > I've moved this discussion over to the Spreadsheet::WriteExcel Google > group where it would be of interest to more people. See the following > for an explanation of how to do this: > > http://groups.google.com/group/spreadsheet- > writeexcel/browse_thread/thread/e11b903aae54d3c8?hl=en > > John.