OpenXML: update Embedded excel in Word document

I am updating word template with data run time using OpenXML. My question is after entering cell values in embedded Excel, it is not reflecting when I open the word document after process.

eg I have one word template document which has total 6 embedded Excel object. Each embedded Excel has three worksheets (eg display, data & settings). Once I have data while running application, the code is filling the value in data worksheet. The Display worksheet shows the value from Data worksheet based on Formulas applied on cells on display worksheet. Once entire process completes I opened newly generated word document, it shows Excel Display worksheet without the values applied. If I will edit/open worksheet from Word document than it get refreshed and showing new values.

Is there way in OpenXML to fix this issue?

链接地址: http://www.djcxy.com/p/27768.html

上一篇: 交叉应用表值函数

下一篇: OpenXML:更新Word文档中的嵌入式Excel