Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Display of ready charts from an excel file in Windows Form
 

Display of ready charts from an excel file in Windows Form

I have an excel file with several charts like Chart1, Chart2 on separate Chart locations (not in a worksheet). I need to know how I can extract these charts from excel file (maybe like Chart Collection object) and display them on Windows Form (with Previous and Next buttons). Also onecan paste (embed) a chart in a powerpoint slide and then double click it in ppt file and edit these charts...like change chart title etc. Can these charts be similarly embedded on Windows Form and then edited by double clicking on it? Need help. Most forums talk of embedded worksheets or creating charts. I dont intend to create charts using code. Just display and edit
achougoo  Saturday, June 13, 2009 6:47 AM
Hi achougoo,

Winform doesn't have built-in Chart control, but you can find one in "Microsoft.Office.Tools.Excel.v9.0" assembly, you can add that reference to your project and use its control. For the detail of that control, you'd better contact Office Online support. I am not familiar with that either.

Chart class
http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.chart(VS.80).aspx

Office Online support
http://office.microsoft.com/en-us/help/default.aspx

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Tuesday, June 16, 2009 4:47 AM
Hi achougoo,

Winform doesn't have built-in Chart control, but you can find one in "Microsoft.Office.Tools.Excel.v9.0" assembly, you can add that reference to your project and use its control. For the detail of that control, you'd better contact Office Online support. I am not familiar with that either.

Chart class
http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.chart(VS.80).aspx

Office Online support
http://office.microsoft.com/en-us/help/default.aspx

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Tuesday, June 16, 2009 4:47 AM

You can use google to search for other answers

Custom Search

More Threads

• Creating Progressbar control in gridview column
• Canadian Terrarium Contest
• Username and password
• Class is not in the assembly
• Smart Client Offline Application Block (SCOAB)
• Windows form application problem
• Can't add new animals ..
• Terrarium 1.2 Server Available
• FTP In window form
• Help