为什么Excel.XlFileFormat.xlExcel9795不起作用? [英] Why is Excel.XlFileFormat.xlExcel9795 not working?

查看:493
本文介绍了为什么Excel.XlFileFormat.xlExcel9795不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





寻找解决方案:

'oBook.SaveAs(C:\ Book13.xls ,Excel.XlFileFormat.xlExcel9795) - >参数'Excel.XlFileFormat.xlExcel9795'不起作用。 'Excel.XlFileFormat.xlExcel7'(excel95)有效,但不接受excel文件中的VBA代码。

我使用

-vbstudio 2005

-interop.excel.dll 1.5.0.0。

-office 2003&office 365

-windows 7&win XP



Chris

Hi,

looking for a solution on this:
'oBook.SaveAs("C:\Book13.xls", Excel.XlFileFormat.xlExcel9795) -> parameter 'Excel.XlFileFormat.xlExcel9795' doesn't work. 'Excel.XlFileFormat.xlExcel7' (excel95) works but doesn't accept VBA code in the excel file.
I use
-vbstudio 2005
-interop.excel.dll 1.5.0.0.
-office 2003 & office 365
-windows 7 & win XP

Chris

推荐答案

这篇关于为什么Excel.XlFileFormat.xlExcel9795不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆