반응형
c# 엑셀버전체크
-
c# 엑셀 버전 찾기Development Programs 2022. 11. 18. 13:46
/// /// 엑셀 버전찾기 /// /// /// /// 8 = 97 /// 9 = 2000 /// 10 = 2002 /// 11 = 2003 /// 12 = 2007 /// 14 = 2010 /// 15 = 2013 /// 16 = 2016 /// 18 = 2019 /// 18 = offcie365 /// public static int GetExcelVersion() { try { RegistryKey subKey = Registry.ClassesRoot.OpenSubKey(@"Excel.Application\CurVer"); if (subKey != null) { try { string[] temp = ((string)(subKey.GetValue(""))).Split('.'); int excelV..