my $row_min = 1; my $row_max = ( $worksheet->row_range() )[1];