日期:2014-05-17  浏览次数:21099 次

C#获取本机使用的Excel的版本号
Microsoft.Office.Interop.Excel.Application EXCEL_APP = new Microsoft.Office.Interop.Excel.Application();

string version = EXCEL_APP.Version;
int version_i = Convert.ToInt32(float.Parse(version));

office 2003 version_i 为 11