Problem with excel 2007 charts

S

saranya

I have VC++ MDI application, which open, modify and save Office 2003
documents using OLE. While saving Excel 2003 docs I am able to save this
documents properly since Office2003 docs are Structured Storage docs.
I am also able to save Office 2007 Excel (which is not structured storage)
with normal data (e.g. Text, Pictures, etc..) docs. But when I am drawing
Pie-Chart on excel and copy and paste the same pi-chart into same excel doc,
Excel documents gets saved but while opening the same document I get
"Insufficient Memory to perform Operation." and document gets corrupted.
After copying i viewed the clipboard,the format of the chart is changed.
I need to know how we save such objects (pie-chart) in Office 2007 documents
using OLE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top