摘要:
Set ExcelApp=CreateObject("Excel.Application") Set ExcelWorkbook=ExcelApp.Workbooks.Open(FilePath) Set ExcelSheet=ExcelWor.Worksheets(SheetName).UsedRange rowcount=ExcelSheet.Rows.count ‘计算使用的单元格行数columncount=ExcelSheet.Columns.count ... 阅读全文