Article ID: 225029 - View products that this article applies to.
This article was previously published under Q225029
This article demonstrates how to determine the version of Microsoft Excel that wrote a given workbook.
Microsoft Excel saves data using structured storage. In particular, it creates a data stream called "Workbook" (previously just "Book") where it saves the contents starting with a Beginning of File (BOF) record. This record contains useful attributes of the workbook, as well as the version. The following Microsoft Visual C++ code demonstrates how to open a file, read it, and return the version number based on the BOF:
For additional information, please see the following article in the Microsoft Knowledge Base:
178605 How To Determine the Version of a Microsoft Excel Workbook
Article ID: 225029 - Last Review: January 24, 2007 - Revision: 4.5
Contact us for more help
Connect with Answer Desk for expert help.