吴宗隆 · 2005-08-20 15:31:41 · 阅读: 707 哪位大哥知道在delphi里怎么取excel文件的记录数啊? MSExcel := CreateOleObject('Excel.Application'); MSExcel.WorkBooks.Open(edtDepartmentFile.Text); showmessage(inttostr(MSExcel.rows.Count)); show出来的值居然是65535