Skip to content

Bug fix for bad "dimension" spec. #91

Description

@berntb

Some programs (Libre Office) create XLSX files with a bad dimension spec. They only save max col/row.

This fix to Spreadsheet/ParseXLSX.pm should illustrate (and solve) the problem:

sub _dimensions {
     my $self = shift;
     my ($dim) = @_;
 
+    $dim  = "A1:$dim"
+        if $dim !~ /:/;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions