Native Excel in DELPHI
Workbook:= TXLSWorkbook.Create();
Workbook.open('d:\temp\');
Workbook.Sheet[1].Name:= 'Sheet1';
MaxRow:= Workbook.ActiveSheet.UsedRange.Rows.Count;
Workbook:= TXLSWorkbook.Create();
Workbook.open('d:\temp\');
Workbook.Sheet[1].Name:= 'Sheet1';
MaxRow:= Workbook.ActiveSheet.UsedRange.Rows.Count;