vfp控制的EXCEL如何保存文件,用oexcel.activeworkbook.save保存不上
vfp控制的EXCEL如何保存文件,用oe.activeworkbook.save命令保存不上全部代码如下:
oe=createobject("excel.application")
oe.workbooks.open("d:\b.xls")
oe.displayalerts=.f.
oe.cells(1,1).value="李四"
oe.cells(1,2).value="王五"
oe.cells(1,3).value="张三"
oe.activeworkbook.save
oe.workbooks.close
oe.quit