C
C#14mo ago
TJacken

❔ How can I copy a Chart from Excel to Word with OpenXml SDK?

Lost whole day on this without any result. Is this possible to do with OpenXml SDK? Anyone had similar use case?
4 Replies
JakenVeina
JakenVeina14mo ago
Create an Excel file with a chart in it, and a Word file with a chart in it unzip and inspect the corresponding XML data for the charts figure out the APIs in OpenXml for manipulating these XML constructs write code
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
TJacken
TJackenOP14mo ago
It is impossible, I made to draw excel chart in word but when I change some cell value in excel it doesn't recalculate cell values so when I draw chart in word it draw chart before I updated chart. Only way to success what I want is to reopen excel file in Excel application to force recalculation and save documents. In my case I can't do it because on server I don't have installed Excel application.
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server