--- trunk/all2xml.pl 2005/02/28 10:01:34 679 +++ trunk/all2xml.pl 2006/04/13 19:35:19 726 @@ -795,7 +795,8 @@ my $excel_file = $cfg -> val($database, 'excel_file') || die "$database doesn't have 'excel_file' defined!"; my $sheet = x($config->{sheet}) || die "no sheet in $type.xml"; - my $start_row = x($config->{start_row}) - 1 || die "no start_row in $type.xml"; + my $start_row = x($config->{start_row}) || die "no start_row in $type.xml"; + $start_row--; my $oBook = Spreadsheet::ParseExcel::Workbook->Parse($excel_file) || die "can't open Excel file '$excel_file'";