切换表单时候,如下代码:
sheet.suspendCalcService(false);
sheet.suspendPaint();
refreshLinkAndFormula(spread, sheet);//如果这里报错后就会下面不会运行。
sheet.resumeCalcService(true);
sheet.resumePaint();
能否判断当前sheet是否执行了这个状态,
sheet.suspendCalcService(false);
sheet.suspendPaint();
这样的话再重新点击的时候就会if 条件判断下 然后执行sheet.suspendCalcService(false); sheet.suspendPaint();恢复。
|
|