Excel 97-2003的正确的“XlFileFormat”枚举是什么? [英] What is the correct `XlFileFormat` enumeration for Excel 97-2003

查看:219
本文介绍了Excel 97-2003的正确的“XlFileFormat”枚举是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于Excel VBA Interop,用于保存Excel 97-2003电子表格的正确的 XlFileFormat 枚举是什么?

In regards to Excel VBA Interop, what is the correct XlFileFormat enumeration for saving an Excel 97-2003 spreadsheet?

官方MSDN文档是此处,但

The official MSDN documentation is here but I can't figure out from reading this what the correct selection is.

谢谢

推荐答案

Excel 97是版本8.随后的版本,包括Excel 2003有非常小的更改。直到Excel 2007,版本12。这是为什么你从枚举中看到xlExcel9到11缺少。

Excel 97 was version 8. Subsequent releases up to and including Excel 2003 had very minor changes. Until Excel 2007, version 12. Which is why you see xlExcel9 through 11 missing from the enumeration.

所以你需要xlExcel8这里。

So you'll want xlExcel8 here.

这篇关于Excel 97-2003的正确的“XlFileFormat”枚举是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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