Embed office (Word Excel) into WinForms or WPF control
11,740
Solution 1
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.
Solution 2
Yes, it is possible. Excel is available as a control and you can use it. Look for licensing issues if any.
Author by
gruber
Updated on June 04, 2022Comments
-
gruber almost 2 years
Is it possible to embed Office application in WinForms control (having office installed on computer)?