Embed office (Word Excel) into WinForms or WPF control
Is it possible to embed Office appli开发者_Python百科cation in WinForms control (having office installed on computer)?
You just need to add these using statements:
using Microsoft.Office.Interop;
using Microsoft.Office.Interop.Excel;
Then you can add ExcelObj
and add a Workbork
and a Worksheet
to that. Its all pretty self explanatory.
Yes, it is possible. Excel is available as a control and you can use it. Look for licensing issues if any.
精彩评论