--- trunk/bin/BackupPC_xls_report 2005/08/31 21:22:48 108 +++ trunk/bin/BackupPC_xls_report 2005/09/01 18:38:48 110 @@ -92,10 +92,9 @@ my @backups = $bpc->BackupInfoRead($hostname); print scalar @backups, " increments\n"; - my $i = 0; - $worksheet->write($row, $i++, $hostname); - foreach my $backup (@backups) { + $worksheet->write($row, 0, $hostname); + for (my $i = 0; $i <= $#cols; $i++) { my $col = $cols[$i]; if ($col =~ m/Time/) {