Embed Office (Word Excel) in WinForms or a WPF Control

Can I embed an Office application in a WinForms control (having an office installed on my computer)?

+3
source share
2 answers

You just need to add these operators:

using Microsoft.Office.Interop;
using Microsoft.Office.Interop.Excel;

Then you can add ExcelObjand add to it Workborkand Worksheet. All of this is pretty clear.

+2
source

Yes it is possible. Excel is available as a control and you can use it. Look for licensing issues, if any.

+1
source

Source: https://habr.com/ru/post/1747002/


All Articles