views:

486

answers:

3

Can I host an instance of excel application within a winforms application?

Meaning, I want to use the excel as my datagrid in a winforms application.

thank you for your input.

A: 

You cannot host an Excel application inside of a Winform directly. You can, however, load up an Excel file from a WebBrowser control inside a Winform.

Jon
+1  A: 

Not directly, but you can use a WebBrowser control to host Excel within your WinForms application as documented in this Microsoft article.

Eric J.
Thank you. I am working on this.
A: 

SpreadsheetGear for .NET comes with an Excel compatible spreadsheet control for Windows Forms.

You can download the free trial here if you want to try it out.

Disclaimer: I own SpreadsheetGear LLC

Joe Erickson