private bool isInCellEditingMode() { bool flag = false; try { app.DisplayAlerts = false; //This will throw an Exception if Excel is in Cell Editing Mode } catch (Exception) { flag = true; } return flag; }
VSTO Check Cell is In Edit Mode or Not
最新推荐文章于 2024-07-25 09:56:02 发布