dim exapp as excel.application
dim exbook as excel,application
dim shijian as string
set exapp=createobject("excel.aaplication")
exapp.visible=true
set exbook=exapp.activeworkbook
exapp.cells(1,1)="shuju"'你想保存的数据
shijian=time(now)
exbook.saveas("c:\"&shijian)
exapp.quit
set exapp=nothing
具体点,可以HI我
温馨提示:答案为网友推荐,仅供参考