Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Excel VBA Interop に関してXlFileFormat、Excel 97-2003 スプレッドシートを保存するための正しい列挙は何ですか?
XlFileFormat
公式の MSDN ドキュメントはこちらにありますが、これを読んでも正しい選択が何かわかりません。
ありがとう
Excel 97 はバージョン 8 でした。Excel 2003 までのその後のリリースでは、非常に小さな変更がありました。Excel 2007 バージョン 12 まで。これが、列挙から xlExcel9 から 11 が欠落している理由です。
したがって、ここで xlExcel8 が必要になります。