Dim ex as New Exporter ex.SourceTableName = "交叉统计" '指定导出表 ex.FilePath = "e:\报表\分析.xls" '指定目标文件 ex.Format = "Excel" '导出格式为Excel ex.Export() '开始导出
[此贴子已经被作者于2009-7-4 11:13:03编辑过]
2楼
易服 发表于:2009/7/4 10:51:00
请狐爸看看
3楼
易服 发表于:2009/7/4 11:09:00
参照http://www.foxtable.com/dispbbs.asp?boardid=2&Id=3380&page=3 Tables("交叉统计").SaveExcel(ProjectPath & "Attachments\分析.xls","交叉统计",False) Dim Result As DialogResult Dim Proc As New Process '打开工作簿 Proc.File = ProjectPath & "Attachments\分析.xls" Proc.Start()