techno
techno

Reputation: 6518

Do i need to have office installed to use Microsoft.Office.Interop.Excel.dll

I'm trying to develop a new app to process excel files.As far as i know -in order to use the Built in Excel Manipulation functionality i need to have Microsoft Office installed (i'm i right)?

Or can i just download the dll Microsoft.Office.Interop.Excel.dll,add a reference and make the solution work on every machine?

Upvotes: 5

Views: 11538

Answers (2)

Samuel S
Samuel S

Reputation: 26

Question TLDR: Yes. You need to have Excel installed or an exception will be thrown.

Upvotes: 0

Dávid Molnár
Dávid Molnár

Reputation: 11613

Yes, you are right. You need Excel to be installed to use the Excel Manipulation feature with Microsoft.Office.Interop.Excel.dll.


If you need to edit only .xlsx files, then you can use libraries like EPPlus. These libraries do NOT need Excel to be installed.

Upvotes: 9

Related Questions