dw2xlsforpb10数据窗口导出到EXCEL,这个是本人测试过可用的,COPY文件里的DLL及PBD,然后关闭打开的窗口,右击PBT,选属性,然后把这PBD导入就可以用了。用法:uf_save_dw_as_excel(dw_3,ls_file)如:stringls_pathstringls_fileintegerli_rcifdw_3.rowcount()>0thenli_rc=getfilesavename("选择保存文件",ls_path,ls_file,"xls","电子表格(*.XLS),*.XLS","d:\",3277