PB11.5写的往Excel写操作Demo,主要代码: longll_rc stringsFilePath oleobjectlo_excelapp lo_excelapp=createoleobject ll_rc=lo_excelapp.connecttonewobject("Excel.Application") ifll_rc0then destroy(lo_excelapp) return endif lo_excelapp.WorkBooks.Open('D:\temp\test1.xls'); lo_excelapp.WorkSheets