开发者

Prevent "Formulas have been recalculated, save" dialog?

How can I prevent the "Formulas have been recalculated, save" dialog that is launched by Excel interop when quitting the开发者_运维问答 app?

xlApp.Quit();
System.Runtime.InteropServices.Marshal.ReleaseComObject(xlApp);


Try setting the Workbook.Saved property to true before attempting to close the workbook.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜